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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001217/0.001217, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.037/2.037, allocations: 390.2 MB / 0.6643 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.91 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4785, allocations: 140.3 MB / 0.949 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.1996/0.6781, allocations: 211.4 MB / 1.156 GB, free: 13.95 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.6907, allocations: 10.3 MB / 1.166 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.6917, allocations: 35.81 kB / 1.166 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.6934, allocations: 0.7231 MB / 1.166 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005105/0.6986, allocations: 2.731 MB / 1.169 GB, free: 120 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.7012, allocations: 1.296 MB / 1.17 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003866/0.7051, allocations: 4.644 MB / 1.175 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009582/0.7061, allocations: 0.883 MB / 1.176 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.7072, allocations: 0.9726 MB / 1.177 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.7089, allocations: 1.121 MB / 1.178 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.709, allocations: 72 kB / 1.178 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004599/0.7136, allocations: 3.191 MB / 1.181 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.714, allocations: 450.7 kB / 1.181 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.7146, allocations: 0.6687 MB / 1.182 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.7178, allocations: 2.945 MB / 1.185 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7179, allocations: 0 / 1.185 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7179, allocations: 0 / 1.185 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.7179, allocations: 3.938 kB / 1.185 GB, free: 15.82 MB / 0.9512 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.003424/0.7213, allocations: 1.799 MB / 1.187 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.7214, allocations: 8.031 kB / 1.187 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.7215, allocations: 156 kB / 1.187 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/0.7242, allocations: 430 kB / 1.187 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.7254, allocations: 0.8435 MB / 1.188 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.7254, allocations: 77.98 kB / 1.188 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.7256, allocations: 95.98 kB / 1.188 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.7273, allocations: 1.202 MB / 1.189 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.7274, allocations: 0 / 1.189 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.7275, allocations: 39.94 kB / 1.189 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.7275, allocations: 53.98 kB / 1.189 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.7292, allocations: 1.073 MB / 1.19 GB, free: 9.918 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.004554/0.7337, allocations: 4.731 MB / 1.195 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.7351, allocations: 0.9885 MB / 1.196 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008783/0.736, allocations: 0.5675 MB / 1.197 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.7365, allocations: 0.6733 MB / 1.197 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.7366, allocations: 47.22 kB / 1.197 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 1.954e-06/0.7366, allocations: 0 / 1.197 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.003736/0.7403, allocations: 2.304 MB / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.7404, allocations: 64.34 kB / 1.2 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.741, allocations: 0.6334 MB / 1.2 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.7411, allocations: 41.7 kB / 1.2 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.7413, allocations: 460 kB / 1.201 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.7416, allocations: 303.6 kB / 1.201 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.7418, allocations: 142.6 kB / 1.201 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7419, allocations: 390.7 kB / 1.202 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.7424, allocations: 317.8 kB / 1.202 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.7429, allocations: 422.5 kB / 1.202 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.744, allocations: 0.7884 MB / 1.203 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.744, allocations: 4 kB / 1.203 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001354/0.7454, allocations: 0.9463 MB / 1.204 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7454, allocations: 4 kB / 1.204 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7454, allocations: 7.938 kB / 1.204 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.7456, allocations: 61.08 kB / 1.204 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.7463, allocations: 159.8 kB / 1.204 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004062/0.7467, allocations: 0.6031 MB / 1.205 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/0.7476, allocations: 103.8 kB / 1.205 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.7476, allocations: 28 kB / 1.205 GB, free: 10.39 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.0003514/0.748, allocations: 310 kB / 1.205 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.7481, allocations: 86.97 kB / 1.205 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.7495, allocations: 0.9245 MB / 1.206 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.7496, allocations: 12 kB / 1.206 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.7496, allocations: 0 / 1.206 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.7507, allocations: 0.9309 MB / 1.207 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.7534, allocations: 2.111 MB / 1.209 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.7535, allocations: 3.984 kB / 1.209 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008745/0.7543, allocations: 203.7 kB / 1.209 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.7544, allocations: 3.938 kB / 1.209 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.7544, allocations: 23.98 kB / 1.209 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7544, allocations: 4 kB / 1.209 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7544, allocations: 0 / 1.209 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.7562, allocations: 1.38 MB / 1.211 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.7565, allocations: 251.9 kB / 1.211 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.7567, allocations: 16 kB / 1.211 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.7574, allocations: 96.64 kB / 1.211 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.7575, allocations: 48.92 kB / 1.211 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.7576, allocations: 27.98 kB / 1.211 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004724/0.7581, allocations: 463 kB / 1.212 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7581, allocations: 0 / 1.212 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006961/0.7588, allocations: 315.9 kB / 1.212 GB, free: 3.066 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.002205/0.761, allocations: 2.034 MB / 1.214 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.7622, allocations: 0.8168 MB / 1.215 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7622, allocations: 0 / 1.215 GB, free: 188 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.7628, allocations: 437.6 kB / 1.215 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.765, allocations: 0.5813 MB / 1.216 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009902/0.7749, allocations: 8.187 MB / 1.224 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.7755, allocations: 1.12 MB / 1.225 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008901/0.7764, allocations: 255.8 kB / 1.225 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.7769, allocations: 391.3 kB / 1.225 GB, free: 5 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.7769, allocations: 0 / 1.225 GB, free: 5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3626/1.14, allocations: 26.75 MB / 1.251 GB, free: 283.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/1.14, allocations: 218.8 kB / 1.252 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.33, allocations: 0 / 1.252 GB, free: 283.1 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