Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 215.1 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.757/1.757, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.364/3.364, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 61.59 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.478, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.726/2.203, allocations: 339.7 MB / 1.659 GB, free: 18.62 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.07232/2.276, allocations: 43.14 MB / 1.701 GB, free: 18.17 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01244/2.288, allocations: 241.1 kB / 1.701 GB, free: 18.17 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01306/2.301, allocations: 3.646 MB / 1.705 GB, free: 18.08 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.0292/2.331, allocations: 7.967 MB / 1.713 GB, free: 17.72 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01332/2.344, allocations: 4.162 MB / 1.717 GB, free: 17.61 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.02952/2.373, allocations: 17.27 MB / 1.733 GB, free: 17.02 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01101/2.384, allocations: 4.11 MB / 1.737 GB, free: 15.09 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02518/2.41, allocations: 7.856 MB / 1.745 GB, free: 12.79 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/2.421, allocations: 3.945 MB / 1.749 GB, free: 11.49 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002406/2.423, allocations: 498.7 kB / 1.749 GB, free: 11.49 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01699/2.44, allocations: 5.329 MB / 1.755 GB, free: 10.65 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004413/2.445, allocations: 2.031 MB / 1.757 GB, free: 9.41 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.008062/2.453, allocations: 2.477 MB / 1.759 GB, free: 8.008 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02578/2.479, allocations: 10.17 MB / 1.769 GB, free: 1.805 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/2.479, allocations: 0 / 1.769 GB, free: 1.805 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.603e-06/2.479, allocations: 0 / 1.769 GB, free: 1.805 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0003636/2.479, allocations: 0 / 1.769 GB, free: 1.805 MB / 1.295 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.02153/2.501, allocations: 6.534 MB / 1.775 GB, free: 13.2 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/2.501, allocations: 8.844 kB / 1.775 GB, free: 13.2 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/2.515, allocations: 2.05 MB / 1.777 GB, free: 12.26 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/2.53, allocations: 5.664 MB / 1.783 GB, free: 8.742 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006109/2.531, allocations: 487 kB / 1.783 GB, free: 8.371 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/2.532, allocations: 356.4 kB / 1.784 GB, free: 8.25 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/2.544, allocations: 4.946 MB / 1.789 GB, free: 5.07 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.713e-05/2.544, allocations: 5.781 kB / 1.789 GB, free: 5.07 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004327/2.545, allocations: 141.5 kB / 1.789 GB, free: 4.965 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/2.545, allocations: 139.4 kB / 1.789 GB, free: 4.945 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/2.556, allocations: 3.945 MB / 1.793 GB, free: 3.02 MB / 1.311 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.03714/2.593, allocations: 13.35 MB / 1.806 GB, free: 6.465 MB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/2.597, allocations: 1.528 MB / 1.807 GB, free: 4.934 MB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/2.599, allocations: 0.8582 MB / 1.808 GB, free: 4.074 MB / 1.326 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/2.6, allocations: 93.53 kB / 1.808 GB, free: 3.984 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003002/2.603, allocations: 1.458 MB / 1.81 GB, free: 2.41 MB / 1.326 GB Notification: Performance of pre-optimization done (n=127): time 4.639e-06/2.603, allocations: 4 kB / 1.81 GB, free: 2.406 MB / 1.326 GB Notification: Performance of matching and sorting (n=127): time 0.0095/2.612, allocations: 2.812 MB / 1.812 GB, free: 15.59 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.612, allocations: 149.5 kB / 1.812 GB, free: 15.41 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009124/2.621, allocations: 4.356 MB / 1.817 GB, free: 11.05 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0005411/2.622, allocations: 53.7 kB / 1.817 GB, free: 11 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.003019/2.625, allocations: 2.495 MB / 1.819 GB, free: 8.508 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.000935/2.626, allocations: 496.5 kB / 1.82 GB, free: 8.027 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/2.627, allocations: 0.6765 MB / 1.82 GB, free: 7.344 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001689/2.627, allocations: 305.1 kB / 1.821 GB, free: 7.043 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/2.631, allocations: 1.391 MB / 1.822 GB, free: 5.637 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004565/2.635, allocations: 2.89 MB / 1.825 GB, free: 2.164 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007084/2.642, allocations: 3.681 MB / 1.828 GB, free: 14.14 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.66e-05/2.642, allocations: 12 kB / 1.828 GB, free: 14.13 MB / 1.357 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01091/2.653, allocations: 4.265 MB / 1.833 GB, free: 10.04 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 8.931e-05/2.653, allocations: 49.69 kB / 1.833 GB, free: 9.984 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-05/2.653, allocations: 32 kB / 1.833 GB, free: 9.953 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-05/2.654, allocations: 54.94 kB / 1.833 GB, free: 9.902 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/2.657, allocations: 0.7154 MB / 1.833 GB, free: 9.23 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.755e-05/2.657, allocations: 71.72 kB / 1.833 GB, free: 9.176 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/2.663, allocations: 0.4976 MB / 1.834 GB, free: 8.676 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/2.663, allocations: 142.9 kB / 1.834 GB, free: 8.539 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00607/2.669, allocations: 2.545 MB / 1.837 GB, free: 5.98 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004701/2.674, allocations: 2.882 MB / 1.839 GB, free: 2.512 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007207/2.681, allocations: 3.676 MB / 1.843 GB, free: 14.5 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-05/2.681, allocations: 8 kB / 1.843 GB, free: 14.49 MB / 1.373 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01076/2.692, allocations: 4.282 MB / 1.847 GB, free: 10.38 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/2.692, allocations: 49.89 kB / 1.847 GB, free: 10.32 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-05/2.692, allocations: 35.94 kB / 1.847 GB, free: 10.29 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-05/2.692, allocations: 52 kB / 1.847 GB, free: 10.23 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003102/2.695, allocations: 0.7169 MB / 1.848 GB, free: 9.562 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.575e-05/2.695, allocations: 75.66 kB / 1.848 GB, free: 9.504 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/2.7, allocations: 430.4 kB / 1.848 GB, free: 9.082 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/2.7, allocations: 144 kB / 1.849 GB, free: 8.941 MB / 1.373 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.0008141/2.701, allocations: 357.7 kB / 1.849 GB, free: 8.629 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/2.702, allocations: 437.1 kB / 1.849 GB, free: 8.199 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/2.708, allocations: 2.288 MB / 1.852 GB, free: 5.887 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004454/2.712, allocations: 1.893 MB / 1.853 GB, free: 3.902 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/2.712, allocations: 3.984 kB / 1.853 GB, free: 3.898 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003589/2.716, allocations: 0.6352 MB / 1.854 GB, free: 3.262 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/2.717, allocations: 24 kB / 1.854 GB, free: 3.238 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003495/2.721, allocations: 177.4 kB / 1.854 GB, free: 3.066 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/2.721, allocations: 88.83 kB / 1.854 GB, free: 2.98 MB / 1.373 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006416/2.727, allocations: 2.009 MB / 1.856 GB, free: 0.9883 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008653/2.736, allocations: 3.213 MB / 1.859 GB, free: 13.76 MB / 1.389 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002094/2.738, allocations: 0.7877 MB / 1.86 GB, free: 12.97 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.006628/2.745, allocations: 2.863 MB / 1.863 GB, free: 10.12 MB / 1.389 GB Notification: Performance of Backend: time 7.31e-07/2.745, allocations: 4 kB / 1.863 GB, free: 10.12 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.01718/2.762, allocations: 5.256 MB / 1.868 GB, free: 5.145 MB / 1.389 GB Notification: Performance of SimCode: time 0.02513/2.787, allocations: 9.969 MB / 1.878 GB, free: 11.16 MB / 1.404 GB Notification: Performance of Templates: time 0.209/2.996, allocations: 106.5 MB / 1.982 GB, free: 2.352 MB / 1.498 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.828096238001308]