Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 110.8 kB / 16.41 MB, free: 6.512 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.001593/0.001593, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.541/1.541, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 63.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.119, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3906/1.51, allocations: 312.7 MB / 1.473 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.04545/1.555, allocations: 29.35 MB / 1.501 GB, free: 12.61 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00459/1.56, allocations: 83.56 kB / 1.501 GB, free: 12.52 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.008736/1.569, allocations: 2.421 MB / 1.504 GB, free: 10.09 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/1.581, allocations: 3.302 MB / 1.507 GB, free: 6.777 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.009275/1.591, allocations: 2.784 MB / 1.51 GB, free: 4 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01412/1.605, allocations: 7.554 MB / 1.517 GB, free: 12.43 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00459/1.609, allocations: 2.099 MB / 1.519 GB, free: 10.29 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007065/1.617, allocations: 2.445 MB / 1.522 GB, free: 7.832 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/1.621, allocations: 1.523 MB / 1.523 GB, free: 6.309 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/1.622, allocations: 256 kB / 1.523 GB, free: 6.059 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009232/1.631, allocations: 3.621 MB / 1.527 GB, free: 2.43 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001697/1.633, allocations: 0.8335 MB / 1.528 GB, free: 1.594 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003588/1.636, allocations: 1.388 MB / 1.529 GB, free: 204 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01314/1.65, allocations: 5.434 MB / 1.534 GB, free: 10.75 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.65, allocations: 0 / 1.534 GB, free: 10.75 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.244e-06/1.65, allocations: 0 / 1.534 GB, free: 10.75 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002036/1.65, allocations: 0 / 1.534 GB, free: 10.75 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.01049/1.66, allocations: 2.935 MB / 1.537 GB, free: 7.742 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.66, allocations: 12.56 kB / 1.537 GB, free: 7.73 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006541/1.667, allocations: 0.9336 MB / 1.538 GB, free: 6.793 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/1.679, allocations: 5.746 MB / 1.544 GB, free: 0.9922 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/1.679, allocations: 102.6 kB / 1.544 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005373/1.68, allocations: 132 kB / 1.544 GB, free: 0.7617 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004972/1.685, allocations: 1.586 MB / 1.545 GB, free: 15.11 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/1.685, allocations: 0 / 1.545 GB, free: 15.11 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/1.685, allocations: 67.88 kB / 1.546 GB, free: 15.04 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/1.685, allocations: 46.5 kB / 1.546 GB, free: 15 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/1.689, allocations: 1.321 MB / 1.547 GB, free: 13.67 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/1.702, allocations: 7.613 MB / 1.554 GB, free: 5.523 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/1.704, allocations: 0.6689 MB / 1.555 GB, free: 4.828 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/1.705, allocations: 257.7 kB / 1.555 GB, free: 4.574 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/1.705, allocations: 194.8 kB / 1.555 GB, free: 4.348 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/1.705, allocations: 42.56 kB / 1.555 GB, free: 4.297 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 4.188e-06/1.705, allocations: 0 / 1.555 GB, free: 4.297 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.003477/1.709, allocations: 1.039 MB / 1.556 GB, free: 3.211 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/1.709, allocations: 59.41 kB / 1.556 GB, free: 3.141 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005135/1.714, allocations: 2.368 MB / 1.559 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.714, allocations: 29.7 kB / 1.559 GB, free: 0.7188 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.9716/2.686, allocations: 0.9595 MB / 1.56 GB, free: 389.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/2.686, allocations: 132 kB / 1.56 GB, free: 389.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005462/2.687, allocations: 251.3 kB / 1.56 GB, free: 389.9 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001052/2.687, allocations: 349.9 kB / 1.56 GB, free: 389.6 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/2.688, allocations: 0.5135 MB / 1.561 GB, free: 389.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/2.69, allocations: 0.7923 MB / 1.562 GB, free: 389.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/2.693, allocations: 1.123 MB / 1.563 GB, free: 388.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/2.693, allocations: 2.188 kB / 1.563 GB, free: 388.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004072/2.697, allocations: 1.627 MB / 1.564 GB, free: 387.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/2.697, allocations: 12 kB / 1.564 GB, free: 387.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/2.697, allocations: 7.672 kB / 1.564 GB, free: 387.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/2.697, allocations: 37.66 kB / 1.564 GB, free: 387.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/2.698, allocations: 240.5 kB / 1.565 GB, free: 387.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009559/2.699, allocations: 1.572 MB / 1.566 GB, free: 386.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/2.701, allocations: 240.5 kB / 1.566 GB, free: 386.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/2.701, allocations: 40.11 kB / 1.567 GB, free: 386.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002075/2.703, allocations: 1.015 MB / 1.567 GB, free: 385.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001249/2.705, allocations: 0.7777 MB / 1.568 GB, free: 385.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00171/2.706, allocations: 1.099 MB / 1.569 GB, free: 384.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/2.706, allocations: 3.938 kB / 1.569 GB, free: 384.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003107/2.709, allocations: 1.604 MB / 1.571 GB, free: 384 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/2.709, allocations: 9.562 kB / 1.571 GB, free: 384 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/2.709, allocations: 7.844 kB / 1.571 GB, free: 384 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.486e-05/2.71, allocations: 41.23 kB / 1.571 GB, free: 383.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/2.711, allocations: 234.8 kB / 1.571 GB, free: 383.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008372/2.712, allocations: 1.575 MB / 1.573 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/2.713, allocations: 169.3 kB / 1.573 GB, free: 382.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/2.713, allocations: 39.95 kB / 1.573 GB, free: 382.3 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003546/2.714, allocations: 228.2 kB / 1.573 GB, free: 382.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/2.714, allocations: 208.1 kB / 1.573 GB, free: 382 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/2.716, allocations: 0.7631 MB / 1.574 GB, free: 381.6 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/2.716, allocations: 2.156 kB / 1.574 GB, free: 381.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/2.716, allocations: 0 / 1.574 GB, free: 381.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/2.717, allocations: 354 kB / 1.574 GB, free: 381.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/2.717, allocations: 12.84 kB / 1.574 GB, free: 381.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009436/2.718, allocations: 62.98 kB / 1.574 GB, free: 381.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/2.718, allocations: 23.02 kB / 1.575 GB, free: 381.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001684/2.72, allocations: 0.5999 MB / 1.575 GB, free: 381.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001933/2.722, allocations: 1.06 MB / 1.576 GB, free: 380.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005165/2.722, allocations: 211.6 kB / 1.576 GB, free: 380.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00258/2.725, allocations: 1.642 MB / 1.578 GB, free: 379.8 MB / 1.279 GB Notification: Performance of Backend: time 4.41e-07/2.725, allocations: 0 / 1.578 GB, free: 379.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.005941/2.731, allocations: 2.469 MB / 1.58 GB, free: 378.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.008321/2.739, allocations: 4.73 MB / 1.585 GB, free: 374.1 MB / 1.279 GB Notification: Performance of Templates: time 0.07519/2.814, allocations: 52.58 MB / 1.636 GB, free: 322.2 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches