Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 91.06 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005766/0.005766, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437.8 MB / 0.7121 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 8.281 kB / 0.8729 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5219, allocations: 153.8 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002201/0.5241, allocations: 2.005 MB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1341/0.6583, allocations: 148.1 MB / 1.17 GB, free: 9.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.6585, allocations: 7.938 kB / 1.17 GB, free: 9.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.6587, allocations: 27.72 kB / 1.17 GB, free: 9.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.6589, allocations: 91.31 kB / 1.17 GB, free: 9.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.6595, allocations: 263.3 kB / 1.17 GB, free: 8.891 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.6599, allocations: 403.8 kB / 1.17 GB, free: 8.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.6601, allocations: 105.8 kB / 1.171 GB, free: 8.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.6618, allocations: 244.5 kB / 1.171 GB, free: 8.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.662, allocations: 171.2 kB / 1.171 GB, free: 8.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.6621, allocations: 12 kB / 1.171 GB, free: 7.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.6625, allocations: 259.6 kB / 1.171 GB, free: 7.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.6626, allocations: 59.73 kB / 1.171 GB, free: 7.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.6627, allocations: 160.9 kB / 1.171 GB, free: 7.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.6631, allocations: 458.6 kB / 1.172 GB, free: 7.066 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6631, allocations: 4 kB / 1.172 GB, free: 7.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6632, allocations: 0 / 1.172 GB, free: 7.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.6632, allocations: 0 / 1.172 GB, free: 7.062 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001191/0.6644, allocations: 0.6628 MB / 1.173 GB, free: 6.348 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.6644, allocations: 11.97 kB / 1.173 GB, free: 6.336 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.6645, allocations: 62.72 kB / 1.173 GB, free: 6.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/0.6672, allocations: 259.3 kB / 1.173 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.6675, allocations: 295.3 kB / 1.173 GB, free: 5.684 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.6675, allocations: 16.56 kB / 1.173 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.6676, allocations: 31.98 kB / 1.173 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.6689, allocations: 436.5 kB / 1.174 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.6689, allocations: 4 kB / 1.174 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.669, allocations: 11.94 kB / 1.174 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.669, allocations: 8 kB / 1.174 GB, free: 5.184 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.6712, allocations: 0.533 MB / 1.174 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.674, allocations: 1.143 MB / 1.175 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.6762, allocations: 464.5 kB / 1.176 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.6772, allocations: 228.7 kB / 1.176 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.6772, allocations: 7.984 kB / 1.176 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.6773, allocations: 46.5 kB / 1.176 GB, free: 2.707 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.6773, allocations: 0 / 1.176 GB, free: 2.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.01577/0.693, allocations: 1.717 MB / 1.178 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.6931, allocations: 55.41 kB / 1.178 GB, free: 0.875 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.6934, allocations: 304.5 kB / 1.178 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.6934, allocations: 29.7 kB / 1.178 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.6935, allocations: 172.2 kB / 1.178 GB, free: 376 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.6936, allocations: 86.73 kB / 1.178 GB, free: 288 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.6937, allocations: 29.72 kB / 1.178 GB, free: 252 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6938, allocations: 350.7 kB / 1.179 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.6949, allocations: 200.4 kB / 1.179 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.6959, allocations: 270.9 kB / 1.179 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.6979, allocations: 442.8 kB / 1.179 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.698, allocations: 4 kB / 1.179 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006954/0.7049, allocations: 0.8926 MB / 1.18 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.705, allocations: 11.98 kB / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.705, allocations: 0 / 1.18 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.7068, allocations: 285.4 kB / 1.181 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.7073, allocations: 75.81 kB / 1.181 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.7207, allocations: 3.765 MB / 1.184 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.7215, allocations: 79.58 kB / 1.184 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.7215, allocations: 15.97 kB / 1.184 GB, free: 9.562 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.7217, allocations: 149.7 kB / 1.185 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.727e-05/0.7218, allocations: 31.62 kB / 1.185 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00726/0.7291, allocations: 0.9352 MB / 1.186 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.7291, allocations: 8 kB / 1.186 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.7291, allocations: 3.938 kB / 1.186 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.7291, allocations: 3.984 kB / 1.186 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.7296, allocations: 424.9 kB / 1.186 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.7296, allocations: 0 / 1.186 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.73, allocations: 59.89 kB / 1.186 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.7318, allocations: 281.4 kB / 1.186 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.7319, allocations: 7.969 kB / 1.186 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.7451, allocations: 3.774 MB / 1.19 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7451, allocations: 0 / 1.19 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006957/0.7521, allocations: 0.9431 MB / 1.191 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.794e-05/0.7522, allocations: 120.7 kB / 1.191 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.7523, allocations: 7.938 kB / 1.191 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.753, allocations: 51.89 kB / 1.191 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.7531, allocations: 23.91 kB / 1.191 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.7532, allocations: 19.91 kB / 1.191 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002233/0.7534, allocations: 223.1 kB / 1.191 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7534, allocations: 0 / 1.191 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005423/0.7539, allocations: 115.9 kB / 1.191 GB, free: 2.023 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007257/0.7612, allocations: 1.514 MB / 1.193 GB, free: 488 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002672/0.7639, allocations: 0.7352 MB / 1.194 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7639, allocations: 0 / 1.194 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.7654, allocations: 0.5051 MB / 1.194 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006703/0.7661, allocations: 101.3 kB / 1.194 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.7848, allocations: 4.494 MB / 1.199 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.7851, allocations: 0.7645 MB / 1.199 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004586/0.7856, allocations: 82.86 kB / 1.199 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.7858, allocations: 107.4 kB / 1.2 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.7858, allocations: 0 / 1.2 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7895/1.575, allocations: 15.69 MB / 1.215 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/1.576, allocations: 213.9 kB / 1.215 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.78, allocations: 0 / 1.215 GB, free: 9.781 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches