Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001407/0.001407, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.001557/0.001557, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.467/1.467, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.905/2.905, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_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.001976/0.001976, allocations: 59.91 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9219/0.9238, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2588/1.183, allocations: 217.5 MB / 1.552 GB, free: 14.56 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01594/1.199, allocations: 10.26 MB / 1.563 GB, free: 4.285 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/1.2, allocations: 47.62 kB / 1.563 GB, free: 4.238 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/1.203, allocations: 0.8742 MB / 1.563 GB, free: 3.359 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008068/1.211, allocations: 2.983 MB / 1.566 GB, free: 372 kB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/1.215, allocations: 1.439 MB / 1.568 GB, free: 14.92 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004855/1.22, allocations: 3.166 MB / 1.571 GB, free: 11.75 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/1.222, allocations: 0.8387 MB / 1.572 GB, free: 10.89 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/1.225, allocations: 1.312 MB / 1.573 GB, free: 9.574 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/1.227, allocations: 1.128 MB / 1.574 GB, free: 8.445 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003236/1.228, allocations: 120 kB / 1.574 GB, free: 8.328 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00589/1.233, allocations: 2.899 MB / 1.577 GB, free: 5.422 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008087/1.234, allocations: 0.5024 MB / 1.577 GB, free: 4.918 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/1.236, allocations: 0.7273 MB / 1.578 GB, free: 4.188 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006657/1.242, allocations: 2.819 MB / 1.581 GB, free: 1.363 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/1.242, allocations: 4 kB / 1.581 GB, free: 1.359 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.863e-06/1.242, allocations: 4 kB / 1.581 GB, free: 1.355 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.71e-05/1.242, allocations: 3.938 kB / 1.581 GB, free: 1.352 MB / 1.248 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.005039/1.247, allocations: 1.828 MB / 1.583 GB, free: 15.47 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.247, allocations: 12.03 kB / 1.583 GB, free: 15.46 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.245e-05/1.247, allocations: 26 kB / 1.583 GB, free: 15.43 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002237/1.248, allocations: 152 kB / 1.583 GB, free: 15.27 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/1.251, allocations: 434.7 kB / 1.583 GB, free: 14.85 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/1.253, allocations: 0.9026 MB / 1.584 GB, free: 13.9 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/1.253, allocations: 77.98 kB / 1.584 GB, free: 13.83 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/1.253, allocations: 99.94 kB / 1.584 GB, free: 13.73 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/1.255, allocations: 1.198 MB / 1.586 GB, free: 12.5 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/1.255, allocations: 0 / 1.586 GB, free: 12.5 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.256, allocations: 36 kB / 1.586 GB, free: 12.46 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/1.256, allocations: 61.86 kB / 1.586 GB, free: 12.4 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/1.258, allocations: 1.066 MB / 1.587 GB, free: 11.34 MB / 1.264 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.006894/1.265, allocations: 4.93 MB / 1.591 GB, free: 5.977 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/1.266, allocations: 0.9417 MB / 1.592 GB, free: 4.988 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/1.267, allocations: 0.5653 MB / 1.593 GB, free: 4.422 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/1.268, allocations: 0.6694 MB / 1.594 GB, free: 3.605 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/1.268, allocations: 51.2 kB / 1.594 GB, free: 3.547 MB / 1.264 GB Notification: Performance of pre-optimization done (n=82): time 3.296e-06/1.268, allocations: 0 / 1.594 GB, free: 3.547 MB / 1.264 GB Notification: Performance of matching and sorting (n=83): time 0.004729/1.273, allocations: 2.314 MB / 1.596 GB, free: 1.184 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/1.273, allocations: 64.39 kB / 1.596 GB, free: 1.109 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/1.274, allocations: 0.6411 MB / 1.597 GB, free: 468 kB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-05/1.274, allocations: 45.7 kB / 1.597 GB, free: 416 kB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/1.274, allocations: 456.9 kB / 1.597 GB, free: 15.95 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/1.275, allocations: 309.3 kB / 1.597 GB, free: 15.65 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/1.275, allocations: 142.6 kB / 1.598 GB, free: 15.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.275, allocations: 390.7 kB / 1.598 GB, free: 15.11 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005704/1.276, allocations: 317.8 kB / 1.598 GB, free: 14.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/1.276, allocations: 430.5 kB / 1.599 GB, free: 14.36 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/1.278, allocations: 0.7846 MB / 1.599 GB, free: 13.55 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.278, allocations: 0 / 1.599 GB, free: 13.55 MB / 1.279 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001755/1.279, allocations: 0.9547 MB / 1.6 GB, free: 12.58 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.279, allocations: 7.938 kB / 1.6 GB, free: 12.57 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.279, allocations: 4 kB / 1.6 GB, free: 12.57 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/1.28, allocations: 52.83 kB / 1.6 GB, free: 12.51 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/1.28, allocations: 159.8 kB / 1.601 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005489/1.281, allocations: 0.6072 MB / 1.601 GB, free: 11.72 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008372/1.282, allocations: 19.95 kB / 1.601 GB, free: 11.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/1.282, allocations: 31.98 kB / 1.601 GB, free: 11.67 MB / 1.279 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.0004948/1.282, allocations: 305.5 kB / 1.601 GB, free: 11.36 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/1.282, allocations: 95.44 kB / 1.602 GB, free: 11.27 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/1.284, allocations: 0.9285 MB / 1.602 GB, free: 10.33 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.284, allocations: 8 kB / 1.602 GB, free: 10.32 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.284, allocations: 0 / 1.602 GB, free: 10.32 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/1.286, allocations: 0.9387 MB / 1.603 GB, free: 9.34 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/1.289, allocations: 2.114 MB / 1.605 GB, free: 7.168 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.289, allocations: 4 kB / 1.605 GB, free: 7.164 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009687/1.29, allocations: 195.7 kB / 1.606 GB, free: 6.973 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.29, allocations: 4 kB / 1.606 GB, free: 6.969 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/1.29, allocations: 19.98 kB / 1.606 GB, free: 6.949 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.29, allocations: 4 kB / 1.606 GB, free: 6.945 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.29, allocations: 0 / 1.606 GB, free: 6.945 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/1.292, allocations: 1.397 MB / 1.607 GB, free: 5.531 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/1.293, allocations: 252.4 kB / 1.607 GB, free: 5.266 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/1.293, allocations: 20.06 kB / 1.607 GB, free: 5.246 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/1.293, allocations: 27.94 kB / 1.607 GB, free: 5.219 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.294, allocations: 48.92 kB / 1.607 GB, free: 5.172 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/1.294, allocations: 27.98 kB / 1.607 GB, free: 5.145 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006125/1.294, allocations: 455 kB / 1.608 GB, free: 4.703 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/1.294, allocations: 4 kB / 1.608 GB, free: 4.699 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008795/1.295, allocations: 315.9 kB / 1.608 GB, free: 4.391 MB / 1.279 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.002738/1.298, allocations: 2.048 MB / 1.61 GB, free: 2.32 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001457/1.299, allocations: 0.7704 MB / 1.611 GB, free: 1.551 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.423e-06/1.299, allocations: 8.062 kB / 1.611 GB, free: 1.543 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000652/1.3, allocations: 413.5 kB / 1.611 GB, free: 1.137 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/1.303, allocations: 0.5903 MB / 1.612 GB, free: 0.5664 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.314, allocations: 7.555 MB / 1.619 GB, free: 8.832 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/1.315, allocations: 1.124 MB / 1.62 GB, free: 7.676 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009668/1.316, allocations: 259.8 kB / 1.621 GB, free: 7.418 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/1.317, allocations: 387.3 kB / 1.621 GB, free: 7.039 MB / 1.295 GB Notification: Performance of SimCode: time 1.002e-06/1.317, allocations: 0 / 1.621 GB, free: 7.039 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06078/1.378, allocations: 28.26 MB / 1.649 GB, free: 11.16 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/15.02, allocations: 4.656 kB / 1.649 GB, free: 11.15 MB / 1.326 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.631689538015053]