Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ThermalZoneHVACWithExhaust,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.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,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.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 113.3 kB / 16.42 MB, free: 6.457 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.002234/0.002234, allocations: 185.5 kB / 17.35 MB, free: 5.734 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.542/1.542, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.8385, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.229/2.068, allocations: 380.1 MB / 1.598 GB, free: 17.66 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.05732/2.125, allocations: 46.54 MB / 1.643 GB, free: 17.39 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008964/2.134, allocations: 176.8 kB / 1.643 GB, free: 17.39 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01106/2.146, allocations: 3.736 MB / 1.647 GB, free: 17.3 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.0247/2.17, allocations: 7.894 MB / 1.655 GB, free: 16.95 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.009895/2.18, allocations: 3.98 MB / 1.658 GB, free: 16.84 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.02336/2.204, allocations: 17.38 MB / 1.675 GB, free: 16.72 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009146/2.213, allocations: 5.625 MB / 1.681 GB, free: 15.94 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01833/2.231, allocations: 6.56 MB / 1.687 GB, free: 15.73 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/2.243, allocations: 3.748 MB / 1.691 GB, free: 15.09 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002816/2.246, allocations: 0.5091 MB / 1.691 GB, free: 15.09 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/2.262, allocations: 6.367 MB / 1.698 GB, free: 15.03 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003241/2.265, allocations: 2.013 MB / 1.7 GB, free: 14.79 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.005008/2.27, allocations: 3.146 MB / 1.703 GB, free: 13.9 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01714/2.288, allocations: 10.41 MB / 1.713 GB, free: 9.691 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/2.288, allocations: 4 kB / 1.713 GB, free: 9.688 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.553e-06/2.288, allocations: 0 / 1.713 GB, free: 9.688 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002029/2.288, allocations: 0 / 1.713 GB, free: 9.688 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01297/2.301, allocations: 6.679 MB / 1.719 GB, free: 4.945 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/2.301, allocations: 7.188 kB / 1.719 GB, free: 4.945 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/2.314, allocations: 2.044 MB / 1.721 GB, free: 4.012 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/2.326, allocations: 5.899 MB / 1.727 GB, free: 300 kB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/2.326, allocations: 385.1 kB / 1.728 GB, free: 44 kB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/2.327, allocations: 363.3 kB / 1.728 GB, free: 0 / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00982/2.337, allocations: 4.519 MB / 1.732 GB, free: 12.59 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.127e-05/2.337, allocations: 6.625 kB / 1.732 GB, free: 12.59 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/2.338, allocations: 140 kB / 1.732 GB, free: 12.45 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/2.338, allocations: 142.5 kB / 1.733 GB, free: 12.31 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009473/2.347, allocations: 3.946 MB / 1.736 GB, free: 8.379 MB / 1.295 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.03554/2.383, allocations: 19.55 MB / 1.756 GB, free: 3.805 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/2.387, allocations: 1.749 MB / 1.757 GB, free: 2.016 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002522/2.39, allocations: 0.9089 MB / 1.758 GB, free: 1.105 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008345/2.391, allocations: 414.8 kB / 1.759 GB, free: 0.6328 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00288/2.394, allocations: 1.048 MB / 1.76 GB, free: 15.56 MB / 1.326 GB Notification: Performance of pre-optimization done (n=127): time 5.24e-06/2.394, allocations: 4 kB / 1.76 GB, free: 15.56 MB / 1.326 GB Notification: Performance of matching and sorting (n=127): time 0.009728/2.404, allocations: 2.91 MB / 1.762 GB, free: 12.64 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/2.404, allocations: 145.5 kB / 1.763 GB, free: 12.47 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/2.416, allocations: 4.662 MB / 1.767 GB, free: 7.824 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0004939/2.416, allocations: 57.7 kB / 1.767 GB, free: 7.762 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.003326/2.42, allocations: 2.485 MB / 1.77 GB, free: 5.281 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/2.42, allocations: 487 kB / 1.77 GB, free: 4.812 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/2.422, allocations: 0.685 MB / 1.771 GB, free: 4.121 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001406/2.422, allocations: 305.1 kB / 1.771 GB, free: 3.82 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/2.426, allocations: 1.358 MB / 1.772 GB, free: 2.453 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005674/2.431, allocations: 2.511 MB / 1.775 GB, free: 15.46 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007564/2.439, allocations: 3.671 MB / 1.778 GB, free: 11.46 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.845e-05/2.439, allocations: 8 kB / 1.778 GB, free: 11.46 MB / 1.342 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.0111/2.45, allocations: 4.274 MB / 1.783 GB, free: 7.383 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/2.45, allocations: 46.64 kB / 1.783 GB, free: 7.332 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.978e-05/2.45, allocations: 32 kB / 1.783 GB, free: 7.301 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.89e-05/2.451, allocations: 59.94 kB / 1.783 GB, free: 7.242 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/2.454, allocations: 0.7067 MB / 1.783 GB, free: 6.578 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-05/2.454, allocations: 77.92 kB / 1.783 GB, free: 6.516 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/2.459, allocations: 0.5285 MB / 1.784 GB, free: 5.984 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/2.459, allocations: 143.7 kB / 1.784 GB, free: 5.848 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006263/2.466, allocations: 2.516 MB / 1.787 GB, free: 3.324 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004472/2.47, allocations: 2.507 MB / 1.789 GB, free: 336 kB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007067/2.477, allocations: 3.671 MB / 1.793 GB, free: 12.33 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.369e-05/2.477, allocations: 8 kB / 1.793 GB, free: 12.32 MB / 1.357 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01054/2.488, allocations: 4.284 MB / 1.797 GB, free: 8.223 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-05/2.488, allocations: 45.7 kB / 1.797 GB, free: 8.172 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-05/2.488, allocations: 35.98 kB / 1.797 GB, free: 8.137 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.879e-05/2.488, allocations: 52 kB / 1.797 GB, free: 8.086 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/2.491, allocations: 0.7137 MB / 1.798 GB, free: 7.418 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.204e-05/2.491, allocations: 75.38 kB / 1.798 GB, free: 7.359 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/2.497, allocations: 434.4 kB / 1.798 GB, free: 6.934 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/2.497, allocations: 144 kB / 1.798 GB, free: 6.793 MB / 1.357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.0009897/2.498, allocations: 372.7 kB / 1.799 GB, free: 6.469 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/2.5, allocations: 457 kB / 1.799 GB, free: 6.02 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006443/2.506, allocations: 2.292 MB / 1.801 GB, free: 3.707 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004363/2.51, allocations: 1.894 MB / 1.803 GB, free: 1.723 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/2.51, allocations: 3.844 kB / 1.803 GB, free: 1.723 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/2.513, allocations: 0.7475 MB / 1.804 GB, free: 0.9531 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/2.514, allocations: 28 kB / 1.804 GB, free: 0.9258 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003176/2.517, allocations: 183.8 kB / 1.804 GB, free: 0.7461 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/2.518, allocations: 76.88 kB / 1.804 GB, free: 0.6719 MB / 1.357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00593/2.524, allocations: 2.014 MB / 1.806 GB, free: 14.67 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00792/2.532, allocations: 3.238 MB / 1.809 GB, free: 11.41 MB / 1.373 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002003/2.534, allocations: 0.8236 MB / 1.81 GB, free: 10.59 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.007211/2.541, allocations: 3.115 MB / 1.813 GB, free: 7.492 MB / 1.373 GB Notification: Performance of Backend: time 7.51e-07/2.541, allocations: 0 / 1.813 GB, free: 7.492 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.01933/2.56, allocations: 5.544 MB / 1.818 GB, free: 2.246 MB / 1.373 GB Notification: Performance of SimCode: time 0.02511/2.585, allocations: 10.23 MB / 1.828 GB, free: 8.008 MB / 1.389 GB Notification: Performance of Templates: time 0.1748/2.76, allocations: 99.85 MB / 1.926 GB, free: 5.41 MB / 1.482 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches