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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001176/0.001176, 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.001739/0.001739, 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 3.006/3.006, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.913/2.913, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.91 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8745/0.8763, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2518/1.128, allocations: 211.5 MB / 1.223 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01993/1.148, allocations: 10.3 MB / 1.233 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/1.151, allocations: 43.75 kB / 1.233 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003525/1.155, allocations: 0.727 MB / 1.234 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01119/1.166, allocations: 2.72 MB / 1.237 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/1.172, allocations: 1.289 MB / 1.238 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007668/1.179, allocations: 4.634 MB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/1.182, allocations: 0.8791 MB / 1.243 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/1.185, allocations: 0.9843 MB / 1.244 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008556/1.193, allocations: 1.118 MB / 1.245 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000715/1.194, allocations: 68 kB / 1.245 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008716/1.203, allocations: 3.203 MB / 1.249 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/1.204, allocations: 446.6 kB / 1.249 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/1.207, allocations: 0.6687 MB / 1.25 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009317/1.216, allocations: 2.937 MB / 1.253 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.258e-06/1.216, allocations: 0 / 1.253 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.635e-06/1.216, allocations: 0 / 1.253 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.025e-05/1.216, allocations: 0 / 1.253 GB, free: 0.5039 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 1.063/2.28, allocations: 1.795 MB / 1.254 GB, free: 90.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/2.28, allocations: 9.062 kB / 1.254 GB, free: 90.83 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002423/2.28, allocations: 155.4 kB / 1.254 GB, free: 90.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/2.283, allocations: 432.3 kB / 1.255 GB, free: 90.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/2.285, allocations: 0.8468 MB / 1.256 GB, free: 90.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/2.285, allocations: 72.92 kB / 1.256 GB, free: 90.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/2.285, allocations: 97.44 kB / 1.256 GB, free: 90.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/2.288, allocations: 1.197 MB / 1.257 GB, free: 90.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/2.288, allocations: 11.03 kB / 1.257 GB, free: 90.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/2.288, allocations: 39.98 kB / 1.257 GB, free: 90.26 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.612e-05/2.288, allocations: 53.55 kB / 1.257 GB, free: 90.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/2.291, allocations: 1.074 MB / 1.258 GB, free: 90.25 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.00721/2.298, allocations: 4.73 MB / 1.263 GB, free: 87.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/2.3, allocations: 0.9926 MB / 1.264 GB, free: 87.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/2.301, allocations: 0.5661 MB / 1.264 GB, free: 87.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/2.301, allocations: 0.6747 MB / 1.265 GB, free: 86.59 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/2.302, allocations: 43.31 kB / 1.265 GB, free: 86.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.015e-06/2.302, allocations: 1.203 kB / 1.265 GB, free: 86.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.005974/2.308, allocations: 2.297 MB / 1.267 GB, free: 86.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/2.308, allocations: 60.5 kB / 1.267 GB, free: 86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/2.309, allocations: 0.6452 MB / 1.268 GB, free: 85.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.112e-05/2.309, allocations: 39.98 kB / 1.268 GB, free: 85.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/2.309, allocations: 454.9 kB / 1.268 GB, free: 85.63 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/2.31, allocations: 295.9 kB / 1.269 GB, free: 85.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/2.31, allocations: 136.6 kB / 1.269 GB, free: 85.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001674/2.31, allocations: 395.4 kB / 1.269 GB, free: 85.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/2.311, allocations: 320.3 kB / 1.269 GB, free: 85.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/2.311, allocations: 431 kB / 1.27 GB, free: 85.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/2.313, allocations: 0.7813 MB / 1.271 GB, free: 84.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/2.313, allocations: 1.469 kB / 1.271 GB, free: 84.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001804/2.314, allocations: 0.9471 MB / 1.272 GB, free: 84.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/2.314, allocations: 6.219 kB / 1.272 GB, free: 84.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/2.314, allocations: 3.188 kB / 1.272 GB, free: 84.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/2.315, allocations: 59.31 kB / 1.272 GB, free: 84.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/2.316, allocations: 156.4 kB / 1.272 GB, free: 84.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004452/2.316, allocations: 0.6083 MB / 1.272 GB, free: 84.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/2.317, allocations: 108 kB / 1.272 GB, free: 84.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/2.317, allocations: 28.55 kB / 1.273 GB, free: 84.29 MB / 0.9981 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.0006419/2.318, allocations: 303.3 kB / 1.273 GB, free: 84.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/2.318, allocations: 92.11 kB / 1.273 GB, free: 84.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/2.32, allocations: 0.9277 MB / 1.274 GB, free: 84.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/2.32, allocations: 8.844 kB / 1.274 GB, free: 84.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/2.32, allocations: 0 / 1.274 GB, free: 84.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/2.322, allocations: 0.9346 MB / 1.275 GB, free: 83.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004597/2.326, allocations: 2.12 MB / 1.277 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/2.326, allocations: 3.281 kB / 1.277 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/2.327, allocations: 192.7 kB / 1.277 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/2.327, allocations: 3.125 kB / 1.277 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/2.327, allocations: 18.55 kB / 1.277 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/2.327, allocations: 2.656 kB / 1.277 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.327, allocations: 2.062 kB / 1.277 GB, free: 83.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/2.33, allocations: 1.389 MB / 1.278 GB, free: 83.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00071/2.331, allocations: 252.9 kB / 1.279 GB, free: 83.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/2.331, allocations: 18.61 kB / 1.279 GB, free: 83.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009032/2.332, allocations: 87.42 kB / 1.279 GB, free: 83.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/2.332, allocations: 56.42 kB / 1.279 GB, free: 83.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/2.332, allocations: 29.52 kB / 1.279 GB, free: 83.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006836/2.333, allocations: 457 kB / 1.279 GB, free: 83 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/2.333, allocations: 0 / 1.279 GB, free: 83 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0012/2.334, allocations: 321.3 kB / 1.28 GB, free: 83 MB / 0.9981 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.002707/2.337, allocations: 2.034 MB / 1.282 GB, free: 82.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001671/2.338, allocations: 0.8124 MB / 1.282 GB, free: 82.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.338, allocations: 0 / 1.282 GB, free: 82.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007185/2.339, allocations: 438.1 kB / 1.283 GB, free: 82.24 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/2.342, allocations: 0.5677 MB / 1.283 GB, free: 82.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/2.355, allocations: 8.203 MB / 1.291 GB, free: 79.01 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/2.355, allocations: 1.125 MB / 1.292 GB, free: 78.29 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001668/2.357, allocations: 254.3 kB / 1.293 GB, free: 78.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/2.358, allocations: 391.5 kB / 1.293 GB, free: 78.22 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/2.358, allocations: 0 / 1.293 GB, free: 78.22 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/2.416, allocations: 26.75 MB / 1.319 GB, free: 71.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/2.416, allocations: 221.6 kB / 1.319 GB, free: 71.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.8/5.216, allocations: 3.938 kB / 1.319 GB, free: 71.5 MB / 0.9981 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