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.00182/0.00182, allocations: 102.7 kB / 16.45 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.001917/0.001917, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] 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.458/2.458, allocations: 443.5 MB / 0.7287 GB, free: 14.54 MB / 0.5762 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.001897/0.001897, allocations: 59.91 kB / 1.056 GB, free: 2.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3059, allocations: 160.7 MB / 1.213 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.8453/1.151, allocations: 179.9 MB / 1.389 GB, free: 2.367 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01709/1.168, allocations: 11 MB / 1.399 GB, free: 9.547 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003445/1.172, allocations: 94.28 kB / 1.4 GB, free: 9.516 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005742/1.178, allocations: 2.024 MB / 1.401 GB, free: 8.125 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004801/1.182, allocations: 1.663 MB / 1.403 GB, free: 6.793 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/1.185, allocations: 0.7994 MB / 1.404 GB, free: 6.172 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004404/1.189, allocations: 3.137 MB / 1.407 GB, free: 4.316 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/1.19, allocations: 1.045 MB / 1.408 GB, free: 3.703 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/1.192, allocations: 1.154 MB / 1.409 GB, free: 3.047 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/1.194, allocations: 1.153 MB / 1.41 GB, free: 2.34 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/1.195, allocations: 128.1 kB / 1.41 GB, free: 2.34 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/1.196, allocations: 0.9656 MB / 1.411 GB, free: 1.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004404/1.197, allocations: 487 kB / 1.412 GB, free: 1.488 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.198, allocations: 1.096 MB / 1.413 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003798/1.202, allocations: 3.503 MB / 1.416 GB, free: 14.44 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.202, allocations: 0 / 1.416 GB, free: 14.44 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.382e-06/1.202, allocations: 0 / 1.416 GB, free: 14.44 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.675e-05/1.202, allocations: 0 / 1.416 GB, free: 14.44 MB / 1.092 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.00417/1.206, allocations: 2.888 MB / 1.419 GB, free: 12.29 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.206, allocations: 10.12 kB / 1.419 GB, free: 12.29 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/1.206, allocations: 128.5 kB / 1.419 GB, free: 12.18 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/1.208, allocations: 390.3 kB / 1.42 GB, free: 11.98 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/1.211, allocations: 2.041 MB / 1.422 GB, free: 10.55 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/1.211, allocations: 60.78 kB / 1.422 GB, free: 10.52 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.211, allocations: 75.28 kB / 1.422 GB, free: 10.5 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.212, allocations: 0.9394 MB / 1.423 GB, free: 9.902 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/1.212, allocations: 0 / 1.423 GB, free: 9.902 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/1.212, allocations: 35.73 kB / 1.423 GB, free: 9.875 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/1.212, allocations: 30.28 kB / 1.423 GB, free: 9.867 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/1.213, allocations: 0.6992 MB / 1.423 GB, free: 9.523 MB / 1.092 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.005882/1.219, allocations: 4.458 MB / 1.428 GB, free: 5.293 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/1.22, allocations: 301.6 kB / 1.428 GB, free: 4.992 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/1.22, allocations: 176.8 kB / 1.428 GB, free: 4.816 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/1.22, allocations: 89.11 kB / 1.428 GB, free: 4.711 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.22, allocations: 43.05 kB / 1.428 GB, free: 4.66 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/1.22, allocations: 0 / 1.428 GB, free: 4.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=32): time 0.003111/1.223, allocations: 1.743 MB / 1.43 GB, free: 2.84 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.223, allocations: 59.39 kB / 1.43 GB, free: 2.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/1.227, allocations: 2.949 MB / 1.433 GB, free: 15.8 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/1.227, allocations: 33.7 kB / 1.433 GB, free: 15.77 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009952/1.228, allocations: 1.075 MB / 1.434 GB, free: 14.68 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/1.228, allocations: 119 kB / 1.434 GB, free: 14.57 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/1.229, allocations: 110.2 kB / 1.434 GB, free: 14.45 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.229, allocations: 326 kB / 1.435 GB, free: 14.13 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/1.229, allocations: 169 kB / 1.435 GB, free: 13.96 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004326/1.229, allocations: 366.2 kB / 1.435 GB, free: 13.52 MB / 1.107 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.002129/1.232, allocations: 1.08 MB / 1.436 GB, free: 12.34 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.232, allocations: 3.938 kB / 1.436 GB, free: 12.33 MB / 1.107 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001276/1.233, allocations: 0.8051 MB / 1.437 GB, free: 11.52 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/1.233, allocations: 8 kB / 1.437 GB, free: 11.51 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.233, allocations: 8 kB / 1.437 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/1.233, allocations: 60.81 kB / 1.437 GB, free: 11.44 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/1.233, allocations: 95.84 kB / 1.437 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/1.235, allocations: 1.877 MB / 1.439 GB, free: 9.336 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/1.236, allocations: 35.94 kB / 1.439 GB, free: 9.301 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/1.236, allocations: 27.94 kB / 1.439 GB, free: 9.273 MB / 1.107 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.001197/1.237, allocations: 0.7929 MB / 1.44 GB, free: 8.473 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/1.238, allocations: 246.4 kB / 1.44 GB, free: 8.23 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/1.238, allocations: 255.7 kB / 1.44 GB, free: 7.977 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.238, allocations: 4 kB / 1.44 GB, free: 7.973 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.238, allocations: 0 / 1.44 GB, free: 7.973 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007114/1.239, allocations: 0.6055 MB / 1.441 GB, free: 7.297 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/1.242, allocations: 2.038 MB / 1.443 GB, free: 5.152 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.242, allocations: 7.984 kB / 1.443 GB, free: 5.145 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.242, allocations: 59.91 kB / 1.443 GB, free: 5.086 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/1.242, allocations: 61.23 kB / 1.443 GB, free: 5.023 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/1.242, allocations: 8 kB / 1.443 GB, free: 5.016 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/1.244, allocations: 1.867 MB / 1.445 GB, free: 3.012 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.244, allocations: 4 kB / 1.445 GB, free: 3.008 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.245, allocations: 0.9388 MB / 1.446 GB, free: 2.008 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00085/1.246, allocations: 423.3 kB / 1.446 GB, free: 1.574 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/1.246, allocations: 15.98 kB / 1.446 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/1.247, allocations: 13.41 kB / 1.446 GB, free: 1.547 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/1.247, allocations: 35.91 kB / 1.446 GB, free: 1.512 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/1.247, allocations: 19.98 kB / 1.446 GB, free: 1.492 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002928/1.25, allocations: 2.083 MB / 1.448 GB, free: 15.41 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.25, allocations: 0 / 1.448 GB, free: 15.41 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001017/1.251, allocations: 303.9 kB / 1.448 GB, free: 15.11 MB / 1.123 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.001839/1.253, allocations: 1.545 MB / 1.45 GB, free: 13.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009483/1.254, allocations: 0.5154 MB / 1.45 GB, free: 12.98 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.254, allocations: 0 / 1.45 GB, free: 12.98 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/1.254, allocations: 302.9 kB / 1.451 GB, free: 12.67 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/1.257, allocations: 0.9484 MB / 1.452 GB, free: 11.75 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.282, allocations: 17.16 MB / 1.468 GB, free: 10.17 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/1.284, allocations: 1.953 MB / 1.47 GB, free: 8.18 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001194/1.285, allocations: 342.8 kB / 1.471 GB, free: 7.84 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009405/1.286, allocations: 0.8039 MB / 1.471 GB, free: 7.035 MB / 1.139 GB Notification: Performance of SimCode: time 1.643e-06/1.286, allocations: 0 / 1.471 GB, free: 7.035 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.421, allocations: 51.42 MB / 1.522 GB, free: 4.336 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.91, allocations: 18.5 kB / 1.522 GB, free: 4.32 MB / 1.186 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.80297930771485]