Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_10_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.001208/0.001208, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 193 kB / 16.53 MB, free: 6.391 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.28/2.28, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.83 kB / 0.8693 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4834, allocations: 151.6 MB / 1.017 GB, free: 2.414 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.1771/0.6605, allocations: 213.6 MB / 1.226 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.6719, allocations: 10.21 MB / 1.236 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.673, allocations: 35.81 kB / 1.236 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.6747, allocations: 0.843 MB / 1.237 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.6802, allocations: 2.9 MB / 1.24 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.6829, allocations: 1.389 MB / 1.241 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003013/0.6859, allocations: 3.173 MB / 1.244 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.6871, allocations: 1.022 MB / 1.245 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.6887, allocations: 1.129 MB / 1.246 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001952/0.6906, allocations: 1.077 MB / 1.247 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.6909, allocations: 120 kB / 1.247 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.6948, allocations: 2.739 MB / 1.25 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004439/0.6953, allocations: 498.7 kB / 1.251 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007972/0.6961, allocations: 0.7273 MB / 1.251 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4244/1.12, allocations: 2.783 MB / 1.254 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.12, allocations: 1.438 kB / 1.254 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.121, allocations: 0 / 1.254 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.974e-05/1.121, allocations: 0 / 1.254 GB, free: 11.67 MB / 0.9981 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.003707/1.124, allocations: 1.788 MB / 1.256 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.124, allocations: 10.22 kB / 1.256 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/1.124, allocations: 153.3 kB / 1.256 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/1.127, allocations: 428.9 kB / 1.256 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.128, allocations: 0.8513 MB / 1.257 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/1.128, allocations: 74.59 kB / 1.257 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.129, allocations: 94.08 kB / 1.257 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/1.13, allocations: 1.202 MB / 1.258 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.13, allocations: 1.594 kB / 1.258 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/1.131, allocations: 40.95 kB / 1.259 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/1.131, allocations: 58.12 kB / 1.259 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/1.132, allocations: 1.068 MB / 1.26 GB, free: 10.39 MB / 0.9981 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.004494/1.137, allocations: 4.791 MB / 1.264 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/1.138, allocations: 0.9844 MB / 1.265 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000939/1.139, allocations: 0.569 MB / 1.266 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/1.14, allocations: 0.6728 MB / 1.266 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/1.14, allocations: 43.98 kB / 1.267 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 1.974e-06/1.14, allocations: 0 / 1.267 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.004254/1.144, allocations: 2.298 MB / 1.269 GB, free: 22.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/1.144, allocations: 62.66 kB / 1.269 GB, free: 22.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/1.145, allocations: 0.6419 MB / 1.269 GB, free: 22.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/1.145, allocations: 45.3 kB / 1.269 GB, free: 22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/1.145, allocations: 454.2 kB / 1.27 GB, free: 21.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/1.145, allocations: 292.9 kB / 1.27 GB, free: 21.61 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/1.145, allocations: 137 kB / 1.27 GB, free: 21.59 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.146, allocations: 396.3 kB / 1.271 GB, free: 21.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/1.146, allocations: 320.7 kB / 1.271 GB, free: 21.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/1.147, allocations: 431.7 kB / 1.271 GB, free: 21.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/1.148, allocations: 0.7818 MB / 1.272 GB, free: 21.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.148, allocations: 1.203 kB / 1.272 GB, free: 21.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001396/1.149, allocations: 0.9491 MB / 1.273 GB, free: 21.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.149, allocations: 7.672 kB / 1.273 GB, free: 21.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.149, allocations: 1.531 kB / 1.273 GB, free: 21.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/1.149, allocations: 57.75 kB / 1.273 GB, free: 21.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/1.15, allocations: 156.3 kB / 1.273 GB, free: 21.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003891/1.15, allocations: 0.6109 MB / 1.274 GB, free: 20.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/1.151, allocations: 22.47 kB / 1.274 GB, free: 20.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/1.151, allocations: 24.89 kB / 1.274 GB, free: 20.5 MB / 1.014 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.0003661/1.151, allocations: 310.3 kB / 1.274 GB, free: 20.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/1.152, allocations: 96.25 kB / 1.274 GB, free: 20.33 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/1.153, allocations: 0.9294 MB / 1.275 GB, free: 20.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.153, allocations: 9.219 kB / 1.275 GB, free: 20.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.153, allocations: 2.047 kB / 1.275 GB, free: 20.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/1.154, allocations: 0.9267 MB / 1.276 GB, free: 20 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/1.157, allocations: 2.114 MB / 1.278 GB, free: 19.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.157, allocations: 1.125 kB / 1.278 GB, free: 19.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/1.158, allocations: 190.6 kB / 1.278 GB, free: 19.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.158, allocations: 3.438 kB / 1.278 GB, free: 19.68 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/1.158, allocations: 17.53 kB / 1.278 GB, free: 19.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.158, allocations: 6.828 kB / 1.278 GB, free: 19.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.158, allocations: 5.438 kB / 1.278 GB, free: 19.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/1.159, allocations: 1.387 MB / 1.28 GB, free: 19.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/1.16, allocations: 252.5 kB / 1.28 GB, free: 19.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.16, allocations: 18.81 kB / 1.28 GB, free: 19.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/1.16, allocations: 28.25 kB / 1.28 GB, free: 19.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.161, allocations: 51.48 kB / 1.28 GB, free: 19.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/1.161, allocations: 27.25 kB / 1.28 GB, free: 19.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000481/1.161, allocations: 459.4 kB / 1.281 GB, free: 19.23 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.161, allocations: 0 / 1.281 GB, free: 19.23 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007394/1.162, allocations: 316.4 kB / 1.281 GB, free: 19.22 MB / 1.014 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.002023/1.164, allocations: 2.042 MB / 1.283 GB, free: 18.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001647/1.166, allocations: 1.004 MB / 1.284 GB, free: 18.45 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.166, allocations: 6.875 kB / 1.284 GB, free: 18.45 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/1.166, allocations: 439.2 kB / 1.284 GB, free: 18.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/1.168, allocations: 0.5921 MB / 1.285 GB, free: 18.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008168/1.176, allocations: 7.777 MB / 1.292 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/1.177, allocations: 1.123 MB / 1.294 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008533/1.178, allocations: 250.6 kB / 1.294 GB, free: 15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/1.178, allocations: 387.5 kB / 1.294 GB, free: 14.99 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.178, allocations: 5.031 kB / 1.294 GB, free: 14.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/1.308, allocations: 27.87 MB / 1.321 GB, free: 12.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.63, allocations: 7.219 kB / 1.321 GB, free: 12.91 MB / 1.014 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches