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 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: 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.008069/0.008069, allocations: 100.9 kB / 15.73 MB, free: 6 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.00177/0.00177, allocations: 188.9 kB / 16.67 MB, free: 5.934 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.91 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.324, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.8796/1.204, allocations: 192.6 MB / 1.414 GB, free: 8.211 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007119/1.211, allocations: 4.014 MB / 1.418 GB, free: 4.934 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/1.212, allocations: 25.5 kB / 1.418 GB, free: 4.922 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/1.214, allocations: 471.3 kB / 1.418 GB, free: 4.539 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004292/1.218, allocations: 1.532 MB / 1.42 GB, free: 3.359 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/1.222, allocations: 1.353 MB / 1.421 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002589/1.225, allocations: 1.639 MB / 1.423 GB, free: 1.445 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/1.226, allocations: 0.9469 MB / 1.423 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/1.228, allocations: 0.926 MB / 1.424 GB, free: 300 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/1.229, allocations: 0.8451 MB / 1.425 GB, free: 15.77 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002957/1.23, allocations: 94.88 kB / 1.425 GB, free: 15.77 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/1.233, allocations: 1.319 MB / 1.427 GB, free: 15.05 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004904/1.233, allocations: 349.9 kB / 1.427 GB, free: 14.8 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009201/1.234, allocations: 0.5115 MB / 1.427 GB, free: 14.46 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/1.237, allocations: 1.638 MB / 1.429 GB, free: 13.39 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.237, allocations: 0 / 1.429 GB, free: 13.39 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.533e-06/1.237, allocations: 2.094 kB / 1.429 GB, free: 13.39 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.614e-05/1.237, allocations: 0 / 1.429 GB, free: 13.39 MB / 1.123 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.003275/1.24, allocations: 1.471 MB / 1.43 GB, free: 12.34 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/1.24, allocations: 11.94 kB / 1.43 GB, free: 12.34 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/1.242, allocations: 246.6 kB / 1.431 GB, free: 12.22 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/1.243, allocations: 0.611 MB / 1.431 GB, free: 11.65 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/1.243, allocations: 37 kB / 1.431 GB, free: 11.62 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.243, allocations: 55.95 kB / 1.431 GB, free: 11.56 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.245, allocations: 0.9655 MB / 1.432 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.245, allocations: 8 kB / 1.432 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/1.245, allocations: 24 kB / 1.432 GB, free: 10.5 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/1.245, allocations: 23.98 kB / 1.432 GB, free: 10.47 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/1.247, allocations: 0.9367 MB / 1.433 GB, free: 9.535 MB / 1.123 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.005661/1.252, allocations: 4.271 MB / 1.437 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/1.253, allocations: 0.6016 MB / 1.438 GB, free: 4.48 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/1.254, allocations: 0.5136 MB / 1.439 GB, free: 3.965 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.255, allocations: 0.8783 MB / 1.439 GB, free: 2.902 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.255, allocations: 40.92 kB / 1.439 GB, free: 2.855 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001481/1.257, allocations: 419.5 kB / 1.44 GB, free: 2.445 MB / 1.123 GB Notification: Performance of pre-optimization done (n=50): time 4.227e-06/1.257, allocations: 0 / 1.44 GB, free: 2.445 MB / 1.123 GB Notification: Performance of matching and sorting (n=50): time 0.01783/1.274, allocations: 3.838 MB / 1.444 GB, free: 14.55 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.275, allocations: 59.84 kB / 1.444 GB, free: 14.48 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009937/1.276, allocations: 0.7116 MB / 1.444 GB, free: 13.76 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.276, allocations: 29.7 kB / 1.444 GB, free: 13.73 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/1.276, allocations: 328.8 kB / 1.445 GB, free: 13.4 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.276, allocations: 186.4 kB / 1.445 GB, free: 13.22 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/1.276, allocations: 154.1 kB / 1.445 GB, free: 13.06 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.277, allocations: 326 kB / 1.445 GB, free: 12.74 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/1.277, allocations: 392.9 kB / 1.446 GB, free: 12.35 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/1.278, allocations: 493.5 kB / 1.446 GB, free: 11.85 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/1.28, allocations: 0.918 MB / 1.447 GB, free: 10.9 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.28, allocations: 4 kB / 1.447 GB, free: 10.9 MB / 1.139 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01159/1.291, allocations: 2.564 MB / 1.45 GB, free: 8.316 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.291, allocations: 4 kB / 1.45 GB, free: 8.312 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.291, allocations: 8.125 kB / 1.45 GB, free: 8.305 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009792/1.301, allocations: 1.726 MB / 1.451 GB, free: 6.57 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/1.301, allocations: 91.88 kB / 1.451 GB, free: 6.48 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.314, allocations: 7.155 MB / 1.458 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008708/1.315, allocations: 19.48 kB / 1.458 GB, free: 15.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/1.316, allocations: 51.92 kB / 1.458 GB, free: 14.97 MB / 1.154 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.000401/1.316, allocations: 205.7 kB / 1.459 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/1.316, allocations: 91.44 kB / 1.459 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005181/1.321, allocations: 1.742 MB / 1.46 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.321, allocations: 11.94 kB / 1.46 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.321, allocations: 4 kB / 1.46 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.321, allocations: 3.984 kB / 1.46 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/1.327, allocations: 2.544 MB / 1.463 GB, free: 10.27 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.328, allocations: 4 kB / 1.463 GB, free: 10.26 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/1.328, allocations: 87.89 kB / 1.463 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/1.331, allocations: 0.7901 MB / 1.464 GB, free: 9.379 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/1.332, allocations: 23.92 kB / 1.464 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006999/1.339, allocations: 4.853 MB / 1.468 GB, free: 4.223 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.339, allocations: 4 kB / 1.468 GB, free: 4.219 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/1.344, allocations: 2.152 MB / 1.471 GB, free: 2.027 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/1.345, allocations: 244.4 kB / 1.471 GB, free: 1.77 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/1.345, allocations: 12.88 kB / 1.471 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/1.345, allocations: 23.98 kB / 1.471 GB, free: 1.734 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/1.346, allocations: 52.44 kB / 1.471 GB, free: 1.684 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/1.346, allocations: 23.98 kB / 1.471 GB, free: 1.66 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006741/1.346, allocations: 0.4951 MB / 1.471 GB, free: 1.172 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.5e-07/1.346, allocations: 4 kB / 1.471 GB, free: 1.168 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009542/1.347, allocations: 279.8 kB / 1.472 GB, free: 0.8945 MB / 1.154 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.000519/1.348, allocations: 224.2 kB / 1.472 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003708/1.351, allocations: 1.464 MB / 1.473 GB, free: 15.18 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.352, allocations: 4 kB / 1.473 GB, free: 15.18 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/1.354, allocations: 0.919 MB / 1.474 GB, free: 14.23 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.356, allocations: 449.5 kB / 1.475 GB, free: 13.8 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/1.359, allocations: 1.751 MB / 1.476 GB, free: 12.01 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005825/1.36, allocations: 0.9828 MB / 1.477 GB, free: 11 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005766/1.36, allocations: 158.6 kB / 1.477 GB, free: 10.84 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/1.36, allocations: 67.41 kB / 1.478 GB, free: 10.77 MB / 1.17 GB Notification: Performance of SimCode: time 6.81e-07/1.36, allocations: 0 / 1.478 GB, free: 10.77 MB / 1.17 GB Notification: Performance of Templates: time 0.03505/1.395, allocations: 22.76 MB / 1.5 GB, free: 4.25 MB / 1.186 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches