Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001554, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.001699/0.001699, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 442.5 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 62.66 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3666, allocations: 153 MB / 1.027 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.8876/1.254, allocations: 192.6 MB / 1.215 GB, free: 9.051 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008866/1.263, allocations: 4.013 MB / 1.219 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/1.265, allocations: 20.75 kB / 1.219 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/1.266, allocations: 475.7 kB / 1.219 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/1.271, allocations: 1.528 MB / 1.221 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/1.274, allocations: 1.354 MB / 1.222 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002527/1.277, allocations: 1.633 MB / 1.224 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/1.278, allocations: 0.9632 MB / 1.225 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/1.28, allocations: 0.9171 MB / 1.225 GB, free: 1.129 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/1.281, allocations: 0.8558 MB / 1.226 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/1.281, allocations: 95.41 kB / 1.226 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/1.284, allocations: 1.314 MB / 1.228 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003903/1.284, allocations: 346.9 kB / 1.228 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005906/1.285, allocations: 0.5173 MB / 1.229 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/1.287, allocations: 1.624 MB / 1.23 GB, free: 13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.287, allocations: 0 / 1.23 GB, free: 13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.248e-06/1.287, allocations: 0 / 1.23 GB, free: 13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.287, allocations: 3.938 kB / 1.23 GB, free: 13 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00299/1.29, allocations: 1.449 MB / 1.232 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.291, allocations: 11.97 kB / 1.232 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/1.292, allocations: 238.8 kB / 1.232 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/1.293, allocations: 0.6071 MB / 1.232 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/1.293, allocations: 40.94 kB / 1.232 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.293, allocations: 51.91 kB / 1.232 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/1.295, allocations: 0.9648 MB / 1.233 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.295, allocations: 3.938 kB / 1.233 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/1.295, allocations: 24 kB / 1.233 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/1.295, allocations: 24 kB / 1.233 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/1.296, allocations: 0.9406 MB / 1.234 GB, free: 8.477 MB / 0.9356 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.005545/1.302, allocations: 4.251 MB / 1.239 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009507/1.303, allocations: 0.5991 MB / 1.239 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007587/1.304, allocations: 0.5174 MB / 1.24 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.305, allocations: 0.8705 MB / 1.24 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.305, allocations: 43 kB / 1.24 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001464/1.306, allocations: 415.2 kB / 1.241 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=50): time 3.416e-06/1.306, allocations: 0 / 1.241 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50): time 0.01712/1.323, allocations: 3.845 MB / 1.245 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/1.324, allocations: 55.84 kB / 1.245 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.325, allocations: 0.7155 MB / 1.245 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/1.325, allocations: 37.7 kB / 1.245 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/1.325, allocations: 316.6 kB / 1.246 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/1.325, allocations: 177.4 kB / 1.246 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/1.325, allocations: 146.1 kB / 1.246 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.326, allocations: 326 kB / 1.246 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/1.326, allocations: 404.9 kB / 1.247 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/1.327, allocations: 481.5 kB / 1.247 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.328, allocations: 0.918 MB / 1.248 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.328, allocations: 3.875 kB / 1.248 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01111/1.34, allocations: 2.564 MB / 1.251 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.34, allocations: 8 kB / 1.251 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.34, allocations: 0 / 1.251 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009413/1.349, allocations: 1.738 MB / 1.252 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/1.35, allocations: 91.88 kB / 1.252 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/1.362, allocations: 7.141 MB / 1.259 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/1.363, allocations: 24.05 kB / 1.259 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.363, allocations: 43.94 kB / 1.259 GB, free: 13.96 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004135/1.364, allocations: 218.7 kB / 1.26 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/1.364, allocations: 79.06 kB / 1.26 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/1.369, allocations: 1.731 MB / 1.261 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.369, allocations: 7.938 kB / 1.261 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.369, allocations: 4 kB / 1.261 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.369, allocations: 11.92 kB / 1.261 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005938/1.375, allocations: 2.548 MB / 1.264 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.375, allocations: 192 / 1.264 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/1.375, allocations: 99 kB / 1.264 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/1.379, allocations: 0.7899 MB / 1.265 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/1.379, allocations: 16 kB / 1.265 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006649/1.386, allocations: 4.856 MB / 1.27 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.386, allocations: 0 / 1.27 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/1.391, allocations: 2.147 MB / 1.272 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/1.391, allocations: 228 kB / 1.272 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.392, allocations: 12 kB / 1.272 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/1.392, allocations: 27.97 kB / 1.272 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/1.392, allocations: 61 kB / 1.272 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/1.392, allocations: 16 kB / 1.272 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006378/1.393, allocations: 0.5029 MB / 1.272 GB, free: 180 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/1.393, allocations: 0 / 1.272 GB, free: 180 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009995/1.394, allocations: 283.9 kB / 1.273 GB, free: 15.89 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005191/1.395, allocations: 219.5 kB / 1.273 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00344/1.398, allocations: 1.473 MB / 1.274 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.398, allocations: 0 / 1.274 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/1.4, allocations: 0.9185 MB / 1.275 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.402, allocations: 462.6 kB / 1.276 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/1.405, allocations: 1.705 MB / 1.277 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/1.405, allocations: 0.9828 MB / 1.278 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005332/1.406, allocations: 166.6 kB / 1.278 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/1.406, allocations: 63.42 kB / 1.279 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/1.406, allocations: 0 / 1.279 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of Templates: time 0.03476/1.441, allocations: 22.63 MB / 1.301 GB, free: 3.43 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches