Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_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.000953/0.0009529, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001166/0.001166, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.498/2.498, allocations: 390.9 MB / 0.666 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003649, allocations: 11.94 kB / 0.8154 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8285, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.286/2.115, allocations: 313.2 MB / 1.26 GB, free: 25.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04735/2.162, allocations: 34.06 MB / 1.294 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007107/2.169, allocations: 118.3 kB / 1.294 GB, free: 25.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006553/2.176, allocations: 1.477 MB / 1.295 GB, free: 25.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01641/2.193, allocations: 4.185 MB / 1.299 GB, free: 25.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0082/2.201, allocations: 2.214 MB / 1.301 GB, free: 25.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01439/2.215, allocations: 9.659 MB / 1.311 GB, free: 25.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005733/2.221, allocations: 2.896 MB / 1.314 GB, free: 24.79 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/2.232, allocations: 3.736 MB / 1.317 GB, free: 24.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007399/2.24, allocations: 2.433 MB / 1.32 GB, free: 24.74 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001209/2.241, allocations: 124.5 kB / 1.32 GB, free: 24.74 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/2.252, allocations: 2.872 MB / 1.323 GB, free: 24.69 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002958/2.255, allocations: 0.9685 MB / 1.323 GB, free: 24.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003695/2.259, allocations: 0.7533 MB / 1.324 GB, free: 24.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/2.271, allocations: 5.031 MB / 1.329 GB, free: 24.28 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/2.271, allocations: 0 / 1.329 GB, free: 24.28 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.348e-06/2.271, allocations: 0 / 1.329 GB, free: 24.28 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003393/2.272, allocations: 1.859 kB / 1.329 GB, free: 24.28 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01174/2.284, allocations: 3.71 MB / 1.333 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/2.284, allocations: 7.781 kB / 1.333 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009277/2.293, allocations: 1.558 MB / 1.334 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008773/2.302, allocations: 2.611 MB / 1.337 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/2.303, allocations: 0.534 MB / 1.337 GB, free: 21.44 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/2.305, allocations: 258.3 kB / 1.338 GB, free: 21.44 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/2.317, allocations: 3.503 MB / 1.341 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001792/2.318, allocations: 5.594 kB / 1.341 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009695/2.319, allocations: 112.3 kB / 1.341 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/2.319, allocations: 102 kB / 1.341 GB, free: 20.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009834/2.329, allocations: 3.266 MB / 1.344 GB, free: 20.09 MB / 0.9981 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.03147/2.36, allocations: 14.51 MB / 1.359 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004361/2.365, allocations: 1.954 MB / 1.361 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/2.367, allocations: 0.8507 MB / 1.361 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005092/2.367, allocations: 308.5 kB / 1.362 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/2.37, allocations: 1.006 MB / 1.363 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002084/2.372, allocations: 139.7 kB / 1.363 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=108): time 1.013e-05/2.372, allocations: 0 / 1.363 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108): time 0.0068/2.379, allocations: 2.629 MB / 1.365 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/2.379, allocations: 115 kB / 1.365 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/2.384, allocations: 2.843 MB / 1.368 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/2.384, allocations: 48.58 kB / 1.368 GB, free: 8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/2.386, allocations: 1.505 MB / 1.37 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/2.386, allocations: 379.8 kB / 1.37 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/2.386, allocations: 28.06 kB / 1.37 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000114/2.387, allocations: 372.3 kB / 1.37 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/2.389, allocations: 0.9225 MB / 1.371 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002577/2.391, allocations: 1.401 MB / 1.373 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/2.394, allocations: 1.043 MB / 1.374 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/2.394, allocations: 6.062 kB / 1.374 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00643/2.4, allocations: 2.588 MB / 1.376 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002734/2.401, allocations: 461 kB / 1.377 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/2.401, allocations: 14.06 kB / 1.377 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-05/2.401, allocations: 23.47 kB / 1.377 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/2.403, allocations: 468.6 kB / 1.377 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.096e-05/2.403, allocations: 39.73 kB / 1.377 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004365/2.407, allocations: 0.5329 MB / 1.378 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/2.408, allocations: 75.78 kB / 1.378 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/2.408, allocations: 4.094 kB / 1.378 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005486/2.413, allocations: 2.313 MB / 1.38 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.615e-05/2.413, allocations: 12.2 kB / 1.38 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/2.413, allocations: 22.09 kB / 1.38 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/2.415, allocations: 469.9 kB / 1.381 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.408e-05/2.415, allocations: 27.89 kB / 1.381 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/2.42, allocations: 473.5 kB / 1.381 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/2.42, allocations: 70.91 kB / 1.381 GB, free: 3.508 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 174 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002449/2.422, allocations: 0.8664 MB / 1.382 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/2.423, allocations: 283.6 kB / 1.382 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/2.429, allocations: 2.032 MB / 1.384 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/2.429, allocations: 9.562 kB / 1.384 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/2.429, allocations: 0 / 1.384 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003283/2.432, allocations: 1.602 MB / 1.386 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/2.445, allocations: 5.074 MB / 1.391 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/2.445, allocations: 8 kB / 1.391 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/2.446, allocations: 286 kB / 1.391 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/2.447, allocations: 58.81 kB / 1.391 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/2.447, allocations: 33.98 kB / 1.391 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/2.448, allocations: 1.447 MB / 1.393 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/2.448, allocations: 11.94 kB / 1.393 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006896/2.455, allocations: 2.963 MB / 1.395 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/2.457, allocations: 0.56 MB / 1.396 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/2.458, allocations: 30.3 kB / 1.396 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/2.462, allocations: 321.9 kB / 1.396 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/2.462, allocations: 96.73 kB / 1.396 GB, free: 8.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/2.462, allocations: 54.27 kB / 1.396 GB, free: 8.883 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004609/2.467, allocations: 1.983 MB / 1.398 GB, free: 7.461 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/2.467, allocations: 0 / 1.398 GB, free: 7.461 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.007015/2.474, allocations: 1.552 MB / 1.4 GB, free: 5.98 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001481/2.475, allocations: 448.2 kB / 1.4 GB, free: 5.609 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008607/2.484, allocations: 3.232 MB / 1.404 GB, free: 3.184 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/2.484, allocations: 5.75 kB / 1.404 GB, free: 3.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/2.487, allocations: 0.9724 MB / 1.404 GB, free: 2.445 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/2.497, allocations: 1.516 MB / 1.406 GB, free: 1.191 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/2.515, allocations: 6.928 MB / 1.413 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/2.518, allocations: 2.133 MB / 1.415 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.005008/2.523, allocations: 0.7535 MB / 1.416 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/2.524, allocations: 205.6 kB / 1.416 GB, free: 7.789 MB / 1.029 GB Notification: Performance of SimCode: time 7.51e-07/2.524, allocations: 0 / 1.416 GB, free: 7.789 MB / 1.029 GB Notification: Performance of Templates: time 0.1114/2.635, allocations: 52.5 MB / 1.467 GB, free: 4.164 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches