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 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.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.0015/0.0015, allocations: 100.9 kB / 16.27 MB, free: 5.977 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.001508/0.001508, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.66/2.66, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 64.44 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7688, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.4089/1.178, allocations: 343.1 MB / 1.418 GB, free: 6.738 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.05847/1.236, allocations: 38.4 MB / 1.455 GB, free: 228 kB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005092/1.241, allocations: 135.2 kB / 1.456 GB, free: 92 kB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01361/1.255, allocations: 5.675 MB / 1.461 GB, free: 10.4 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01636/1.271, allocations: 5.77 MB / 1.467 GB, free: 4.605 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.008968/1.28, allocations: 3.037 MB / 1.47 GB, free: 1.586 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01708/1.298, allocations: 10.85 MB / 1.48 GB, free: 6.715 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008082/1.306, allocations: 4.186 MB / 1.484 GB, free: 2.445 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01318/1.319, allocations: 5.271 MB / 1.49 GB, free: 13.16 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006403/1.325, allocations: 2.713 MB / 1.492 GB, free: 10.45 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001583/1.327, allocations: 372 kB / 1.493 GB, free: 10.08 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/1.339, allocations: 5.274 MB / 1.498 GB, free: 4.797 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002715/1.342, allocations: 1.394 MB / 1.499 GB, free: 3.398 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.004619/1.346, allocations: 2.251 MB / 1.501 GB, free: 1.137 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/1.362, allocations: 7.568 MB / 1.509 GB, free: 9.547 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/1.362, allocations: 0 / 1.509 GB, free: 9.547 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.184e-06/1.362, allocations: 3.938 kB / 1.509 GB, free: 9.543 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001696/1.362, allocations: 0 / 1.509 GB, free: 9.543 MB / 1.232 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.01087/1.373, allocations: 4.771 MB / 1.513 GB, free: 4.676 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.373, allocations: 8.031 kB / 1.513 GB, free: 4.668 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008712/1.382, allocations: 1.478 MB / 1.515 GB, free: 3.184 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007746/1.389, allocations: 3.741 MB / 1.518 GB, free: 15.37 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/1.391, allocations: 458 kB / 1.519 GB, free: 14.9 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008029/1.391, allocations: 259.9 kB / 1.519 GB, free: 14.65 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007187/1.399, allocations: 3.386 MB / 1.522 GB, free: 11.16 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/1.399, allocations: 0 / 1.522 GB, free: 11.16 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002622/1.399, allocations: 108 kB / 1.522 GB, free: 11.05 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.399, allocations: 108.8 kB / 1.523 GB, free: 10.94 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007228/1.406, allocations: 3.009 MB / 1.526 GB, free: 7.918 MB / 1.248 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.5721/1.978, allocations: 14.93 MB / 1.54 GB, free: 408.4 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/1.982, allocations: 1.585 MB / 1.542 GB, free: 407.7 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1.984, allocations: 0.6936 MB / 1.542 GB, free: 407.5 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/1.984, allocations: 304.5 kB / 1.543 GB, free: 407.2 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/1.986, allocations: 0.8047 MB / 1.543 GB, free: 406.9 MB / 1.248 GB Notification: Performance of pre-optimization done (n=103): time 2.685e-06/1.986, allocations: 0 / 1.543 GB, free: 406.9 MB / 1.248 GB Notification: Performance of matching and sorting (n=103): time 0.00628/1.992, allocations: 2.19 MB / 1.546 GB, free: 406.3 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/1.993, allocations: 118.9 kB / 1.546 GB, free: 406.2 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/1.998, allocations: 3.204 MB / 1.549 GB, free: 405.1 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003754/1.999, allocations: 54.39 kB / 1.549 GB, free: 405 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/2, allocations: 1.727 MB / 1.551 GB, free: 403.8 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/2, allocations: 372.5 kB / 1.551 GB, free: 403.6 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007267/2.001, allocations: 477.5 kB / 1.551 GB, free: 403.4 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/2.001, allocations: 303.5 kB / 1.552 GB, free: 403.1 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/2.004, allocations: 0.9616 MB / 1.553 GB, free: 402.8 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/2.006, allocations: 1.726 MB / 1.554 GB, free: 401.5 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/2.011, allocations: 2.53 MB / 1.557 GB, free: 400 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.596e-05/2.011, allocations: 5.656 kB / 1.557 GB, free: 400 MB / 1.248 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006922/2.018, allocations: 2.972 MB / 1.56 GB, free: 398.9 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/2.018, allocations: 49.33 kB / 1.56 GB, free: 398.9 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/2.018, allocations: 22.03 kB / 1.56 GB, free: 398.9 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.258e-05/2.018, allocations: 33.16 kB / 1.56 GB, free: 398.9 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/2.02, allocations: 0.5189 MB / 1.56 GB, free: 398.9 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-05/2.02, allocations: 52.94 kB / 1.56 GB, free: 398.8 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/2.024, allocations: 435.7 kB / 1.561 GB, free: 398.7 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/2.024, allocations: 101.7 kB / 1.561 GB, free: 398.7 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004312/2.028, allocations: 1.756 MB / 1.563 GB, free: 398 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003019/2.031, allocations: 1.735 MB / 1.564 GB, free: 396.7 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004573/2.036, allocations: 2.528 MB / 1.567 GB, free: 395.2 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.482e-05/2.036, allocations: 6.531 kB / 1.567 GB, free: 395.2 MB / 1.248 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.007334/2.043, allocations: 2.972 MB / 1.57 GB, free: 394 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/2.044, allocations: 45.41 kB / 1.57 GB, free: 394 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/2.044, allocations: 22.03 kB / 1.57 GB, free: 394 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/2.044, allocations: 36.97 kB / 1.57 GB, free: 394 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/2.046, allocations: 0.5174 MB / 1.57 GB, free: 393.9 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.546e-05/2.046, allocations: 45.11 kB / 1.57 GB, free: 393.9 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/2.049, allocations: 373.4 kB / 1.571 GB, free: 393.8 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/2.05, allocations: 99.3 kB / 1.571 GB, free: 393.8 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * 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.0006478/2.05, allocations: 315.8 kB / 1.571 GB, free: 393.5 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008517/2.051, allocations: 308.3 kB / 1.571 GB, free: 393.4 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/2.056, allocations: 1.682 MB / 1.573 GB, free: 392.7 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/2.056, allocations: 13.38 kB / 1.573 GB, free: 392.7 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/2.056, allocations: 6.297 kB / 1.573 GB, free: 392.7 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002968/2.059, allocations: 1.3 MB / 1.574 GB, free: 392.2 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/2.07, allocations: 4.564 MB / 1.579 GB, free: 390.1 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/2.07, allocations: 6.25 kB / 1.579 GB, free: 390.1 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/2.071, allocations: 244 kB / 1.579 GB, free: 390.1 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002415/2.071, allocations: 54.47 kB / 1.579 GB, free: 390 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/2.072, allocations: 37.58 kB / 1.579 GB, free: 390 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/2.073, allocations: 1.546 MB / 1.581 GB, free: 388.5 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/2.073, allocations: 8.031 kB / 1.581 GB, free: 388.5 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005562/2.078, allocations: 2.516 MB / 1.583 GB, free: 387.3 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/2.08, allocations: 0.5506 MB / 1.584 GB, free: 386.9 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008601/2.081, allocations: 31.03 kB / 1.584 GB, free: 386.9 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/2.083, allocations: 148.6 kB / 1.584 GB, free: 386.9 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/2.083, allocations: 100.6 kB / 1.584 GB, free: 386.9 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/2.083, allocations: 49.7 kB / 1.584 GB, free: 386.9 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004701/2.088, allocations: 2.162 MB / 1.586 GB, free: 386.1 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.3e-07/2.088, allocations: 0 / 1.586 GB, free: 386.1 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.006308/2.095, allocations: 1.688 MB / 1.588 GB, free: 385.8 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (102): * Single equations (assignments): 99 * 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.00178/2.096, allocations: 0.5744 MB / 1.588 GB, free: 385.6 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009325/2.106, allocations: 3.579 MB / 1.592 GB, free: 384 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/2.106, allocations: 3.906 kB / 1.592 GB, free: 384 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/2.108, allocations: 0.7994 MB / 1.592 GB, free: 383.6 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007848/2.115, allocations: 1.496 MB / 1.594 GB, free: 382.9 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/2.129, allocations: 6.396 MB / 1.6 GB, free: 379.2 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/2.131, allocations: 2.288 MB / 1.602 GB, free: 377.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/2.132, allocations: 237.1 kB / 1.603 GB, free: 377.6 MB / 1.248 GB Notification: Performance of SimCode: time 9.22e-07/2.132, allocations: 0 / 1.603 GB, free: 377.6 MB / 1.248 GB Notification: Performance of Templates: time 0.0751/2.208, allocations: 62.31 MB / 1.663 GB, free: 318 MB / 1.248 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=400 -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