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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_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.005176/0.005176, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001376/0.001376, allocations: 201.1 kB / 16.68 MB, free: 5.973 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.591/2.591, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 67.89 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3087, allocations: 162.3 MB / 1.242 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.8298/1.139, allocations: 213.7 MB / 1.451 GB, free: 1.609 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01473/1.153, allocations: 10.2 MB / 1.461 GB, free: 7.383 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/1.155, allocations: 39.81 kB / 1.461 GB, free: 7.344 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/1.157, allocations: 0.8352 MB / 1.461 GB, free: 6.504 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006846/1.164, allocations: 2.89 MB / 1.464 GB, free: 3.602 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/1.167, allocations: 1.417 MB / 1.466 GB, free: 2.184 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003902/1.171, allocations: 3.156 MB / 1.469 GB, free: 15.02 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/1.173, allocations: 1.028 MB / 1.47 GB, free: 13.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/1.174, allocations: 1.242 MB / 1.471 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/1.176, allocations: 1.069 MB / 1.472 GB, free: 11.66 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001879/1.177, allocations: 120 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/1.182, allocations: 2.728 MB / 1.475 GB, free: 8.812 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005981/1.183, allocations: 0.4909 MB / 1.475 GB, free: 8.32 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009321/1.184, allocations: 0.7273 MB / 1.476 GB, free: 7.59 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/1.189, allocations: 2.82 MB / 1.479 GB, free: 4.762 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.189, allocations: 0 / 1.479 GB, free: 4.762 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.212e-06/1.189, allocations: 0 / 1.479 GB, free: 4.762 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.653e-05/1.189, allocations: 0 / 1.479 GB, free: 4.762 MB / 1.17 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.003984/1.193, allocations: 1.836 MB / 1.48 GB, free: 2.867 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/1.193, allocations: 8.031 kB / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/1.193, allocations: 152 kB / 1.481 GB, free: 2.703 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/1.196, allocations: 438.7 kB / 1.481 GB, free: 2.273 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/1.197, allocations: 0.9025 MB / 1.482 GB, free: 1.328 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/1.197, allocations: 70 kB / 1.482 GB, free: 1.262 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/1.198, allocations: 95.98 kB / 1.482 GB, free: 1.168 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/1.2, allocations: 1.202 MB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/1.2, allocations: 4 kB / 1.483 GB, free: 15.92 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/1.2, allocations: 40 kB / 1.483 GB, free: 15.88 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.505e-05/1.2, allocations: 49.98 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/1.202, allocations: 1.078 MB / 1.484 GB, free: 14.76 MB / 1.186 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.005624/1.207, allocations: 4.914 MB / 1.489 GB, free: 9.414 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/1.209, allocations: 0.9885 MB / 1.49 GB, free: 8.383 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/1.21, allocations: 0.5948 MB / 1.491 GB, free: 7.781 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/1.211, allocations: 0.6694 MB / 1.491 GB, free: 6.965 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/1.211, allocations: 47.16 kB / 1.491 GB, free: 6.91 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.514e-06/1.211, allocations: 4 kB / 1.491 GB, free: 6.906 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.004124/1.215, allocations: 2.314 MB / 1.494 GB, free: 4.539 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/1.215, allocations: 64.34 kB / 1.494 GB, free: 4.465 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/1.216, allocations: 0.645 MB / 1.494 GB, free: 3.812 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/1.216, allocations: 41.7 kB / 1.494 GB, free: 3.766 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/1.216, allocations: 464.9 kB / 1.495 GB, free: 3.305 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/1.216, allocations: 313.3 kB / 1.495 GB, free: 2.996 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/1.217, allocations: 138.6 kB / 1.495 GB, free: 2.855 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.217, allocations: 390.8 kB / 1.496 GB, free: 2.465 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/1.217, allocations: 325.8 kB / 1.496 GB, free: 2.145 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/1.218, allocations: 422.5 kB / 1.496 GB, free: 1.703 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.219, allocations: 0.7807 MB / 1.497 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.219, allocations: 8.938 kB / 1.497 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001534/1.221, allocations: 0.9468 MB / 1.498 GB, free: 15.93 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.221, allocations: 7.984 kB / 1.498 GB, free: 15.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.221, allocations: 4 kB / 1.498 GB, free: 15.92 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/1.221, allocations: 65.02 kB / 1.498 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/1.222, allocations: 151.8 kB / 1.498 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005193/1.222, allocations: 0.6118 MB / 1.499 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/1.223, allocations: 20 kB / 1.499 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/1.223, allocations: 24 kB / 1.499 GB, free: 15.03 MB / 1.201 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.0004391/1.223, allocations: 310.5 kB / 1.499 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/1.223, allocations: 95.39 kB / 1.499 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/1.225, allocations: 0.9308 MB / 1.5 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/1.225, allocations: 8 kB / 1.5 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.225, allocations: 5.125 kB / 1.5 GB, free: 13.67 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0013/1.226, allocations: 0.9271 MB / 1.501 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/1.23, allocations: 2.106 MB / 1.503 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.23, allocations: 0 / 1.503 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000901/1.231, allocations: 191.8 kB / 1.503 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.231, allocations: 4 kB / 1.503 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/1.231, allocations: 23.94 kB / 1.503 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.231, allocations: 8.062 kB / 1.503 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.231, allocations: 3.938 kB / 1.503 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/1.233, allocations: 1.396 MB / 1.505 GB, free: 8.895 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/1.233, allocations: 256.4 kB / 1.505 GB, free: 8.625 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.233, allocations: 20 kB / 1.505 GB, free: 8.605 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/1.234, allocations: 23.92 kB / 1.505 GB, free: 8.582 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.234, allocations: 52.92 kB / 1.505 GB, free: 8.531 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/1.234, allocations: 28 kB / 1.505 GB, free: 8.504 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005464/1.235, allocations: 459 kB / 1.506 GB, free: 8.059 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/1.235, allocations: 0 / 1.506 GB, free: 8.059 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008358/1.235, allocations: 319.9 kB / 1.506 GB, free: 7.746 MB / 1.201 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.002592/1.238, allocations: 2.051 MB / 1.508 GB, free: 5.676 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001466/1.24, allocations: 0.809 MB / 1.509 GB, free: 4.863 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.24, allocations: 0 / 1.509 GB, free: 4.863 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006466/1.24, allocations: 441.6 kB / 1.509 GB, free: 4.434 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/1.243, allocations: 0.5907 MB / 1.51 GB, free: 3.863 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.254, allocations: 7.565 MB / 1.517 GB, free: 12.12 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/1.255, allocations: 1.124 MB / 1.518 GB, free: 10.96 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009538/1.256, allocations: 255.7 kB / 1.518 GB, free: 10.71 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/1.256, allocations: 387.3 kB / 1.519 GB, free: 10.33 MB / 1.217 GB Notification: Performance of SimCode: time 1.633e-06/1.256, allocations: 0 / 1.519 GB, free: 10.33 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.98/5.237, allocations: 28.07 MB / 1.546 GB, free: 14.63 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/22.16, allocations: 13.3 kB / 1.546 GB, free: 14.62 MB / 1.248 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) 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) Reference file matches