Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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.001723/0.001723, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002208/0.002208, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.448/3.448, allocations: 0.49 GB / 0.7923 GB, free: 1.285 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="cs",version="2.0",platforms={"static"}) [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.002111/0.002111, allocations: 68.19 kB / 1.149 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9873/0.9894, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2664/1.256, allocations: 217.5 MB / 1.534 GB, free: 15.76 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01721/1.273, allocations: 10.26 MB / 1.544 GB, free: 5.473 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/1.275, allocations: 51.62 kB / 1.544 GB, free: 5.422 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002813/1.278, allocations: 0.8781 MB / 1.545 GB, free: 4.539 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00927/1.287, allocations: 2.982 MB / 1.548 GB, free: 1.547 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004837/1.292, allocations: 1.436 MB / 1.549 GB, free: 112 kB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005786/1.298, allocations: 3.162 MB / 1.552 GB, free: 12.94 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/1.3, allocations: 0.8387 MB / 1.553 GB, free: 12.08 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/1.303, allocations: 1.308 MB / 1.554 GB, free: 10.77 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/1.306, allocations: 1.129 MB / 1.555 GB, free: 9.637 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004924/1.306, allocations: 124 kB / 1.555 GB, free: 9.516 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006649/1.313, allocations: 2.903 MB / 1.558 GB, free: 6.605 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/1.314, allocations: 0.4985 MB / 1.559 GB, free: 6.105 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002208/1.316, allocations: 0.7234 MB / 1.56 GB, free: 5.379 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.007851/1.324, allocations: 2.823 MB / 1.562 GB, free: 2.547 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.324, allocations: 4 kB / 1.562 GB, free: 2.543 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.615e-06/1.324, allocations: 3.938 kB / 1.562 GB, free: 2.539 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.795e-05/1.324, allocations: 0 / 1.562 GB, free: 2.539 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005526/1.33, allocations: 1.832 MB / 1.564 GB, free: 0.6484 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.33, allocations: 19.97 kB / 1.564 GB, free: 0.6289 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.981e-05/1.33, allocations: 26 kB / 1.564 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002969/1.33, allocations: 148.1 kB / 1.564 GB, free: 464 kB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/1.333, allocations: 434.7 kB / 1.565 GB, free: 28 kB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/1.335, allocations: 0.9026 MB / 1.566 GB, free: 15.08 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/1.336, allocations: 77.98 kB / 1.566 GB, free: 15 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/1.336, allocations: 95.98 kB / 1.566 GB, free: 14.91 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/1.338, allocations: 1.202 MB / 1.567 GB, free: 13.68 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/1.338, allocations: 4 kB / 1.567 GB, free: 13.67 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.338, allocations: 36 kB / 1.567 GB, free: 13.64 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.019e-05/1.338, allocations: 57.92 kB / 1.567 GB, free: 13.58 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/1.34, allocations: 1.066 MB / 1.568 GB, free: 12.52 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.006552/1.347, allocations: 4.921 MB / 1.573 GB, free: 7.16 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.348, allocations: 0.949 MB / 1.574 GB, free: 6.168 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/1.35, allocations: 0.5616 MB / 1.574 GB, free: 5.609 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007407/1.35, allocations: 0.6811 MB / 1.575 GB, free: 4.781 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.35, allocations: 43.22 kB / 1.575 GB, free: 4.727 MB / 1.248 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/1.35, allocations: 0 / 1.575 GB, free: 4.727 MB / 1.248 GB Notification: Performance of matching and sorting (n=83): time 0.004482/1.355, allocations: 2.318 MB / 1.577 GB, free: 2.355 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.355, allocations: 64.41 kB / 1.577 GB, free: 2.281 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008205/1.356, allocations: 0.6334 MB / 1.578 GB, free: 1.641 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/1.356, allocations: 41.7 kB / 1.578 GB, free: 1.594 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/1.356, allocations: 464.9 kB / 1.578 GB, free: 1.133 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/1.356, allocations: 313.2 kB / 1.579 GB, free: 0.8242 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/1.357, allocations: 138.6 kB / 1.579 GB, free: 0.6836 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.357, allocations: 394.7 kB / 1.579 GB, free: 296 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/1.357, allocations: 317.9 kB / 1.58 GB, free: 15.97 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006335/1.358, allocations: 434.4 kB / 1.58 GB, free: 15.53 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/1.359, allocations: 0.7807 MB / 1.581 GB, free: 14.72 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.359, allocations: 0 / 1.581 GB, free: 14.72 MB / 1.264 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001627/1.361, allocations: 0.9547 MB / 1.582 GB, free: 13.76 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.361, allocations: 7.938 kB / 1.582 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/1.361, allocations: 4 kB / 1.582 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/1.361, allocations: 52.83 kB / 1.582 GB, free: 13.69 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/1.362, allocations: 159.7 kB / 1.582 GB, free: 13.54 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00053/1.362, allocations: 0.6033 MB / 1.582 GB, free: 12.91 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007847/1.363, allocations: 23.98 kB / 1.582 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/1.363, allocations: 28 kB / 1.582 GB, free: 12.86 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004936/1.364, allocations: 305.5 kB / 1.583 GB, free: 12.55 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/1.364, allocations: 91.44 kB / 1.583 GB, free: 12.46 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/1.366, allocations: 0.9363 MB / 1.584 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/1.366, allocations: 8 kB / 1.584 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.366, allocations: 0 / 1.584 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/1.367, allocations: 0.9348 MB / 1.585 GB, free: 10.52 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/1.37, allocations: 2.114 MB / 1.587 GB, free: 8.348 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.37, allocations: 4 kB / 1.587 GB, free: 8.344 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/1.371, allocations: 191.7 kB / 1.587 GB, free: 8.156 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.371, allocations: 4 kB / 1.587 GB, free: 8.152 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/1.371, allocations: 24.05 kB / 1.587 GB, free: 8.129 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/1.371, allocations: 4 kB / 1.587 GB, free: 8.125 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.371, allocations: 0 / 1.587 GB, free: 8.125 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.373, allocations: 1.396 MB / 1.588 GB, free: 6.711 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/1.374, allocations: 248.5 kB / 1.589 GB, free: 6.449 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.374, allocations: 27.97 kB / 1.589 GB, free: 6.422 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006588/1.375, allocations: 12 kB / 1.589 GB, free: 6.41 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.375, allocations: 56.92 kB / 1.589 GB, free: 6.355 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/1.375, allocations: 27.98 kB / 1.589 GB, free: 6.328 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005933/1.375, allocations: 455 kB / 1.589 GB, free: 5.891 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/1.375, allocations: 0 / 1.589 GB, free: 5.891 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008788/1.376, allocations: 323.9 kB / 1.589 GB, free: 5.574 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00272/1.379, allocations: 2.054 MB / 1.591 GB, free: 3.496 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001479/1.381, allocations: 0.782 MB / 1.592 GB, free: 2.711 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.381, allocations: 0 / 1.592 GB, free: 2.711 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006316/1.381, allocations: 413.5 kB / 1.593 GB, free: 2.309 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.384, allocations: 0.5819 MB / 1.593 GB, free: 1.738 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.395, allocations: 7.558 MB / 1.601 GB, free: 10 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/1.396, allocations: 1.128 MB / 1.602 GB, free: 8.84 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009404/1.397, allocations: 247.8 kB / 1.602 GB, free: 8.594 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/1.397, allocations: 383.3 kB / 1.602 GB, free: 8.219 MB / 1.279 GB Notification: Performance of SimCode: time 8.82e-07/1.397, allocations: 0 / 1.602 GB, free: 8.219 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05878/1.456, allocations: 28.26 MB / 1.63 GB, free: 12.36 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.92, allocations: 14.88 kB / 1.63 GB, free: 12.34 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.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: 22.266237784002442]