Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 110.1 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 245 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.1 MB / 0.7171 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.027 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3037, allocations: 151.6 MB / 1.175 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7826/1.086, allocations: 179.3 MB / 1.35 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0167/1.103, allocations: 10.97 MB / 1.361 GB, free: 2.422 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/1.106, allocations: 87.38 kB / 1.361 GB, free: 2.391 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005774/1.112, allocations: 1.996 MB / 1.363 GB, free: 1.406 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004796/1.117, allocations: 1.619 MB / 1.364 GB, free: 432 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/1.119, allocations: 0.7925 MB / 1.365 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004694/1.124, allocations: 3.149 MB / 1.368 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/1.126, allocations: 1.31 MB / 1.369 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/1.128, allocations: 1.113 MB / 1.37 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/1.131, allocations: 1.103 MB / 1.371 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004006/1.131, allocations: 127.8 kB / 1.372 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002331/1.133, allocations: 0.9152 MB / 1.373 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005727/1.134, allocations: 484.7 kB / 1.373 GB, free: 12.29 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/1.136, allocations: 1.097 MB / 1.374 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005246/1.141, allocations: 3.471 MB / 1.377 GB, free: 9.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.141, allocations: 0 / 1.377 GB, free: 9.648 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/1.141, allocations: 0 / 1.377 GB, free: 9.648 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.837e-05/1.141, allocations: 0 / 1.377 GB, free: 9.648 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004876/1.146, allocations: 2.889 MB / 1.38 GB, free: 7.496 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.146, allocations: 10.47 kB / 1.38 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/1.146, allocations: 131.2 kB / 1.38 GB, free: 7.387 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/1.148, allocations: 394.2 kB / 1.381 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/1.151, allocations: 2.037 MB / 1.383 GB, free: 5.762 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/1.151, allocations: 61.91 kB / 1.383 GB, free: 5.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.151, allocations: 73.53 kB / 1.383 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/1.153, allocations: 0.9364 MB / 1.384 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/1.153, allocations: 3.938 kB / 1.384 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/1.153, allocations: 36.19 kB / 1.384 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/1.153, allocations: 28.41 kB / 1.384 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.154, allocations: 0.6964 MB / 1.385 GB, free: 4.734 MB / 1.045 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.005751/1.16, allocations: 4.461 MB / 1.389 GB, free: 1.129 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/1.16, allocations: 309 kB / 1.389 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/1.16, allocations: 180.7 kB / 1.389 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/1.16, allocations: 101.9 kB / 1.389 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/1.161, allocations: 33.19 kB / 1.39 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/1.161, allocations: 0 / 1.39 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of matching and sorting (n=32): time 0.003094/1.164, allocations: 1.746 MB / 1.391 GB, free: 15.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/1.164, allocations: 53.97 kB / 1.391 GB, free: 15.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/1.167, allocations: 2.956 MB / 1.394 GB, free: 13.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/1.167, allocations: 37.69 kB / 1.394 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.168, allocations: 1.067 MB / 1.395 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/1.169, allocations: 126.5 kB / 1.395 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/1.169, allocations: 107.6 kB / 1.395 GB, free: 12.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.169, allocations: 322.8 kB / 1.396 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/1.169, allocations: 165.6 kB / 1.396 GB, free: 12.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/1.17, allocations: 374.1 kB / 1.396 GB, free: 12.04 MB / 1.061 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/1.172, allocations: 1.077 MB / 1.397 GB, free: 11.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/1.172, allocations: 6.125 kB / 1.397 GB, free: 11.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001277/1.173, allocations: 0.8038 MB / 1.398 GB, free: 10.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.173, allocations: 7.406 kB / 1.398 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.173, allocations: 7.531 kB / 1.398 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/1.173, allocations: 61.34 kB / 1.398 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/1.174, allocations: 104.5 kB / 1.398 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/1.175, allocations: 1.864 MB / 1.4 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.176, allocations: 34.94 kB / 1.4 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/1.176, allocations: 25.84 kB / 1.4 GB, free: 8.965 MB / 1.061 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001169/1.177, allocations: 0.7908 MB / 1.401 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/1.178, allocations: 247 kB / 1.401 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/1.178, allocations: 252.4 kB / 1.401 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.178, allocations: 2.5 kB / 1.401 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.178, allocations: 1.906 kB / 1.401 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007134/1.179, allocations: 0.6149 MB / 1.402 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/1.182, allocations: 2.035 MB / 1.404 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.182, allocations: 1.844 kB / 1.404 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/1.182, allocations: 67.22 kB / 1.404 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/1.183, allocations: 58.39 kB / 1.404 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/1.183, allocations: 17.56 kB / 1.404 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/1.184, allocations: 1.861 MB / 1.406 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.184, allocations: 8.656 kB / 1.406 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/1.185, allocations: 0.9422 MB / 1.407 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/1.186, allocations: 419.6 kB / 1.407 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.186, allocations: 15.8 kB / 1.407 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/1.187, allocations: 11.34 kB / 1.407 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/1.187, allocations: 36.12 kB / 1.407 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/1.187, allocations: 18.02 kB / 1.407 GB, free: 3.371 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002688/1.19, allocations: 2.088 MB / 1.409 GB, free: 2.277 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.19, allocations: 0 / 1.409 GB, free: 2.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009807/1.191, allocations: 300.8 kB / 1.41 GB, free: 2.262 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001776/1.192, allocations: 1.548 MB / 1.411 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009112/1.193, allocations: 0.5309 MB / 1.412 GB, free: 344 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.193, allocations: 4 kB / 1.412 GB, free: 340 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/1.194, allocations: 306.8 kB / 1.412 GB, free: 20 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/1.197, allocations: 0.9498 MB / 1.413 GB, free: 15.1 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.221, allocations: 17.16 MB / 1.43 GB, free: 13.52 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/1.222, allocations: 1.953 MB / 1.432 GB, free: 11.53 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001075/1.223, allocations: 334.9 kB / 1.432 GB, free: 11.2 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009439/1.224, allocations: 0.8038 MB / 1.433 GB, free: 10.39 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/1.224, allocations: 0 / 1.433 GB, free: 10.39 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09773/1.322, allocations: 51.22 MB / 1.483 GB, free: 7.891 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.59, allocations: 3.859 kB / 1.483 GB, free: 7.887 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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: 20.35898280586116]