Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00082/0.00082, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 183.1 kB / 16.92 MB, free: 6.926 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.912/2.912, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003405, allocations: 10.28 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 159.6 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.075/1.403, allocations: 336.2 MB / 1.388 GB, free: 500 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05541/1.459, allocations: 38.2 MB / 1.425 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008303/1.467, allocations: 121.2 kB / 1.425 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01435/1.481, allocations: 5.202 MB / 1.43 GB, free: 9.941 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02146/1.503, allocations: 5.438 MB / 1.435 GB, free: 5.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/1.513, allocations: 2.772 MB / 1.438 GB, free: 3.707 MB / 1.029 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02233/1.536, allocations: 14.35 MB / 1.452 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008351/1.544, allocations: 3.464 MB / 1.456 GB, free: 6.488 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/1.557, allocations: 4.151 MB / 1.46 GB, free: 2.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008359/1.565, allocations: 2.599 MB / 1.462 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001535/1.567, allocations: 124 kB / 1.462 GB, free: 15.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01873/1.586, allocations: 5.927 MB / 1.468 GB, free: 9.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002919/1.589, allocations: 1.117 MB / 1.469 GB, free: 8.539 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00589/1.594, allocations: 1.932 MB / 1.471 GB, free: 6.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/1.607, allocations: 5.705 MB / 1.477 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/1.607, allocations: 0 / 1.477 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.35e-06/1.607, allocations: 4 kB / 1.477 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002988/1.607, allocations: 0 / 1.477 GB, free: 0.8672 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01236/1.619, allocations: 4.005 MB / 1.481 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.619, allocations: 12.03 kB / 1.481 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/1.63, allocations: 1.579 MB / 1.482 GB, free: 11.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/1.64, allocations: 3.756 MB / 1.486 GB, free: 7.348 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001416/1.642, allocations: 485.9 kB / 1.486 GB, free: 6.852 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/1.643, allocations: 267.9 kB / 1.486 GB, free: 6.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/1.655, allocations: 3.426 MB / 1.49 GB, free: 3.059 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/1.655, allocations: 4 kB / 1.49 GB, free: 3.055 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007043/1.655, allocations: 104 kB / 1.49 GB, free: 2.953 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/1.656, allocations: 100.9 kB / 1.49 GB, free: 2.852 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009399/1.665, allocations: 3.103 MB / 1.493 GB, free: 15.73 MB / 1.092 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.02984/1.695, allocations: 14.48 MB / 1.507 GB, free: 184 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/1.699, allocations: 1.616 MB / 1.509 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/1.701, allocations: 0.7108 MB / 1.509 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004987/1.701, allocations: 308.4 kB / 1.51 GB, free: 13.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/1.704, allocations: 0.8215 MB / 1.511 GB, free: 12.61 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001699/1.705, allocations: 122.5 kB / 1.511 GB, free: 12.48 MB / 1.107 GB Notification: Performance of pre-optimization done (n=105): time 6.453e-06/1.705, allocations: 0 / 1.511 GB, free: 12.48 MB / 1.107 GB Notification: Performance of matching and sorting (n=105): time 0.006833/1.712, allocations: 2.228 MB / 1.513 GB, free: 10.22 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/1.712, allocations: 119.8 kB / 1.513 GB, free: 10.08 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007279/1.72, allocations: 3.092 MB / 1.516 GB, free: 6.996 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003721/1.72, allocations: 53.7 kB / 1.516 GB, free: 6.938 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.722, allocations: 1.722 MB / 1.518 GB, free: 5.199 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006517/1.723, allocations: 386.6 kB / 1.518 GB, free: 4.816 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005323/1.723, allocations: 206.1 kB / 1.518 GB, free: 4.609 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.723, allocations: 309.1 kB / 1.519 GB, free: 4.305 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002735/1.726, allocations: 0.9567 MB / 1.519 GB, free: 3.348 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/1.73, allocations: 1.738 MB / 1.521 GB, free: 1.27 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005257/1.735, allocations: 2.546 MB / 1.524 GB, free: 14.42 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-05/1.735, allocations: 12 kB / 1.524 GB, free: 14.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.00779/1.743, allocations: 2.987 MB / 1.527 GB, free: 11.41 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.000712/1.743, allocations: 0.7644 MB / 1.527 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.927e-05/1.744, allocations: 24 kB / 1.527 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-05/1.744, allocations: 32 kB / 1.527 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/1.746, allocations: 0.5188 MB / 1.528 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-05/1.746, allocations: 63.78 kB / 1.528 GB, free: 9.699 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/1.75, allocations: 484.8 kB / 1.528 GB, free: 9.227 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/1.751, allocations: 111.8 kB / 1.529 GB, free: 9.117 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.751, allocations: 8 kB / 1.529 GB, free: 9.109 MB / 1.123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006566/1.757, allocations: 2.698 MB / 1.531 GB, free: 6.402 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-05/1.758, allocations: 23.94 kB / 1.531 GB, free: 6.379 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.15e-05/1.758, allocations: 32 kB / 1.531 GB, free: 6.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/1.76, allocations: 0.5348 MB / 1.532 GB, free: 5.812 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.368e-05/1.76, allocations: 43.86 kB / 1.532 GB, free: 5.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/1.764, allocations: 409 kB / 1.532 GB, free: 5.371 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/1.765, allocations: 99.97 kB / 1.532 GB, free: 5.273 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 245 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002501/1.767, allocations: 0.9991 MB / 1.533 GB, free: 4.266 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000853/1.768, allocations: 304.1 kB / 1.534 GB, free: 3.965 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/1.773, allocations: 1.71 MB / 1.535 GB, free: 2.234 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.773, allocations: 8 kB / 1.535 GB, free: 2.227 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.773, allocations: 0 / 1.535 GB, free: 2.227 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003166/1.776, allocations: 1.333 MB / 1.537 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/1.788, allocations: 4.722 MB / 1.541 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/1.788, allocations: 4 kB / 1.541 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.79, allocations: 247.7 kB / 1.541 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/1.79, allocations: 60.77 kB / 1.541 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.79, allocations: 27.98 kB / 1.541 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/1.792, allocations: 1.436 MB / 1.543 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.792, allocations: 7.938 kB / 1.543 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006204/1.798, allocations: 2.572 MB / 1.545 GB, free: 7.352 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/1.8, allocations: 0.5321 MB / 1.546 GB, free: 6.797 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008814/1.801, allocations: 32 kB / 1.546 GB, free: 6.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.804, allocations: 256.3 kB / 1.546 GB, free: 6.516 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/1.804, allocations: 92.61 kB / 1.546 GB, free: 6.426 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.804, allocations: 51.97 kB / 1.546 GB, free: 6.375 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004771/1.809, allocations: 2.079 MB / 1.548 GB, free: 4.309 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.1e-07/1.809, allocations: 0 / 1.548 GB, free: 4.309 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.006801/1.816, allocations: 1.737 MB / 1.55 GB, free: 2.566 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001726/1.818, allocations: 0.5758 MB / 1.551 GB, free: 1.996 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008733/1.826, allocations: 3.466 MB / 1.554 GB, free: 14.51 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/1.826, allocations: 0 / 1.554 GB, free: 14.51 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/1.828, allocations: 0.8167 MB / 1.555 GB, free: 13.68 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/1.841, allocations: 1.389 MB / 1.556 GB, free: 12.31 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.858, allocations: 7.77 MB / 1.564 GB, free: 4.418 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/1.861, allocations: 2.274 MB / 1.566 GB, free: 2.121 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.863, allocations: 235.4 kB / 1.566 GB, free: 1.891 MB / 1.154 GB Notification: Performance of SimCode: time 1.853e-06/1.863, allocations: 0 / 1.566 GB, free: 1.891 MB / 1.154 GB Notification: Performance of Templates: time 0.104/1.967, allocations: 61.08 MB / 1.626 GB, free: 5.098 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches