Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009458/0.009458, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.578/2.578, allocations: 390.9 MB / 0.6664 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003626, allocations: 8 kB / 0.8161 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8736/0.874, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2482/1.122, allocations: 208.6 MB / 1.159 GB, free: 14.03 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01736/1.14, allocations: 10.19 MB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/1.142, allocations: 31.81 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002881/1.145, allocations: 0.7309 MB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009464/1.155, allocations: 2.724 MB / 1.172 GB, free: 316 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004676/1.159, allocations: 1.284 MB / 1.173 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007218/1.166, allocations: 4.65 MB / 1.178 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/1.169, allocations: 0.8439 MB / 1.179 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/1.172, allocations: 0.957 MB / 1.18 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003966/1.176, allocations: 1.079 MB / 1.181 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005627/1.177, allocations: 56 kB / 1.181 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00883/1.186, allocations: 3.187 MB / 1.184 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001245/1.187, allocations: 434.6 kB / 1.184 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002014/1.189, allocations: 0.6704 MB / 1.185 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0082/1.197, allocations: 2.905 MB / 1.188 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.197, allocations: 4 kB / 1.188 GB, free: 188 kB / 0.9356 GB Notification: Performance of FrontEnd: time 4.719e-06/1.197, allocations: 0 / 1.188 GB, free: 188 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.373e-05/1.197, allocations: 0 / 1.188 GB, free: 188 kB / 0.9356 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.005093/1.202, allocations: 1.562 MB / 1.189 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.46e-05/1.203, allocations: 12.03 kB / 1.189 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000337/1.203, allocations: 148 kB / 1.19 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/1.206, allocations: 430 kB / 1.19 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/1.208, allocations: 0.855 MB / 1.191 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/1.208, allocations: 70 kB / 1.191 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/1.209, allocations: 99.98 kB / 1.191 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/1.211, allocations: 1.198 MB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/1.211, allocations: 3.938 kB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/1.211, allocations: 40 kB / 1.192 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.62e-05/1.211, allocations: 49.98 kB / 1.192 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/1.214, allocations: 1.081 MB / 1.193 GB, free: 10.51 MB / 0.9512 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.007683/1.222, allocations: 4.735 MB / 1.198 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/1.223, allocations: 0.9846 MB / 1.199 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/1.224, allocations: 0.5597 MB / 1.199 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007745/1.225, allocations: 0.685 MB / 1.2 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.417e-05/1.225, allocations: 43.22 kB / 1.2 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 5.31e-06/1.225, allocations: 0 / 1.2 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.005812/1.231, allocations: 2.3 MB / 1.202 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/1.231, allocations: 68.28 kB / 1.202 GB, free: 488 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/1.232, allocations: 0.6335 MB / 1.203 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/1.233, allocations: 41.7 kB / 1.203 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/1.233, allocations: 456 kB / 1.204 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/1.233, allocations: 295.6 kB / 1.204 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/1.233, allocations: 69.67 kB / 1.204 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002398/1.234, allocations: 394.8 kB / 1.204 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/1.234, allocations: 321.8 kB / 1.205 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/1.235, allocations: 422.5 kB / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.236, allocations: 0.7846 MB / 1.206 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.236, allocations: 8 kB / 1.206 GB, free: 13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002036/1.238, allocations: 0.9385 MB / 1.207 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/1.238, allocations: 9.562 kB / 1.207 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/1.238, allocations: 3.938 kB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/1.239, allocations: 69.02 kB / 1.207 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/1.239, allocations: 151.8 kB / 1.207 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006123/1.24, allocations: 0.6148 MB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.241, allocations: 99.83 kB / 1.208 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/1.242, allocations: 27.98 kB / 1.208 GB, free: 11.06 MB / 0.9669 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.0007466/1.242, allocations: 314 kB / 1.208 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/1.243, allocations: 98.81 kB / 1.208 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/1.245, allocations: 0.9246 MB / 1.209 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.245, allocations: 12 kB / 1.209 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.245, allocations: 0 / 1.209 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001351/1.246, allocations: 0.9271 MB / 1.21 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004321/1.25, allocations: 2.115 MB / 1.212 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/1.25, allocations: 0 / 1.212 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009899/1.251, allocations: 191.8 kB / 1.212 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/1.251, allocations: 7.938 kB / 1.212 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/1.252, allocations: 19.98 kB / 1.212 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/1.252, allocations: 4 kB / 1.212 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.252, allocations: 0 / 1.212 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/1.254, allocations: 1.384 MB / 1.213 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/1.254, allocations: 251.9 kB / 1.214 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.255, allocations: 16 kB / 1.214 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.256, allocations: 93.64 kB / 1.214 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.256, allocations: 56.86 kB / 1.214 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/1.256, allocations: 27.98 kB / 1.214 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000671/1.257, allocations: 455 kB / 1.214 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.257, allocations: 4 kB / 1.214 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001119/1.258, allocations: 323.9 kB / 1.215 GB, free: 3.719 MB / 0.9669 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.002585/1.26, allocations: 2.035 MB / 1.217 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001488/1.262, allocations: 0.813 MB / 1.217 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.262, allocations: 4 kB / 1.217 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006213/1.262, allocations: 441.6 kB / 1.218 GB, free: 420 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/1.265, allocations: 0.5639 MB / 1.218 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.278, allocations: 8.34 MB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/1.279, allocations: 1.128 MB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001166/1.28, allocations: 255.8 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/1.281, allocations: 391.2 kB / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of SimCode: time 8.92e-07/1.281, allocations: 0 / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.602/1.883, allocations: 26.51 MB / 1.254 GB, free: 281.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/1.883, allocations: 225.7 kB / 1.254 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/4.671, allocations: 0 / 1.254 GB, free: 281.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches