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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",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.001174/0.001174, 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.001129/0.001129, allocations: 193.6 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.171/1.171, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.353/2.353, allocations: 469.4 MB / 0.742 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 61.2 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2286, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.5993/0.8279, allocations: 192.6 MB / 1.252 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004827/0.8327, allocations: 4.024 MB / 1.256 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.8331, allocations: 22.84 kB / 1.256 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009146/0.8341, allocations: 470 kB / 1.256 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.8365, allocations: 1.531 MB / 1.258 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.8392, allocations: 1.347 MB / 1.259 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.8407, allocations: 1.641 MB / 1.261 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009927/0.8417, allocations: 0.9595 MB / 1.262 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.8428, allocations: 0.9137 MB / 1.262 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008554/0.8436, allocations: 0.856 MB / 1.263 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.8438, allocations: 97.94 kB / 1.263 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001933/0.8457, allocations: 1.301 MB / 1.265 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.846, allocations: 358.8 kB / 1.265 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.8465, allocations: 0.5114 MB / 1.265 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.8482, allocations: 1.615 MB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8482, allocations: 0 / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.123e-06/0.8482, allocations: 1.094 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.8482, allocations: 0.9062 kB / 1.267 GB, free: 4.387 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002697/0.8509, allocations: 1.449 MB / 1.268 GB, free: 19.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.8509, allocations: 9.219 kB / 1.268 GB, free: 19.69 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.8511, allocations: 94.41 kB / 1.269 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.8524, allocations: 238.2 kB / 1.269 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.8531, allocations: 0.5933 MB / 1.269 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.8532, allocations: 34.91 kB / 1.269 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.8533, allocations: 50.44 kB / 1.269 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.8546, allocations: 0.963 MB / 1.27 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.8546, allocations: 6.281 kB / 1.27 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.8547, allocations: 24.03 kB / 1.27 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.8547, allocations: 29.64 kB / 1.27 GB, free: 19.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.8563, allocations: 0.9396 MB / 1.271 GB, free: 19.1 MB / 1.014 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.005106/0.8614, allocations: 4.263 MB / 1.275 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/0.8624, allocations: 0.5947 MB / 1.276 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000761/0.8631, allocations: 0.5141 MB / 1.277 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009816/0.8641, allocations: 0.8768 MB / 1.277 GB, free: 15.87 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.8642, allocations: 42.27 kB / 1.277 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001697/0.8659, allocations: 419 kB / 1.278 GB, free: 15.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 4.979e-06/0.8659, allocations: 1.375 kB / 1.278 GB, free: 15.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01755/0.8835, allocations: 3.838 MB / 1.282 GB, free: 15.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.8835, allocations: 57.22 kB / 1.282 GB, free: 15.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.8844, allocations: 0.7065 MB / 1.282 GB, free: 15.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.8846, allocations: 36.02 kB / 1.282 GB, free: 15.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.8848, allocations: 325.9 kB / 1.283 GB, free: 15.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.8849, allocations: 181.8 kB / 1.283 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.8852, allocations: 149.3 kB / 1.283 GB, free: 15.03 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.8853, allocations: 322.9 kB / 1.283 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.8859, allocations: 399.5 kB / 1.284 GB, free: 14.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.8865, allocations: 488.4 kB / 1.284 GB, free: 14.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.8878, allocations: 0.9225 MB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8878, allocations: 1.125 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01066/0.8985, allocations: 2.561 MB / 1.288 GB, free: 14.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8985, allocations: 6.594 kB / 1.288 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.8985, allocations: 7.453 kB / 1.288 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009072/0.9076, allocations: 1.735 MB / 1.289 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.9081, allocations: 89.38 kB / 1.289 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.9196, allocations: 7.154 MB / 1.296 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008822/0.9205, allocations: 20.75 kB / 1.296 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.9206, allocations: 45.97 kB / 1.296 GB, free: 11.44 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 (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.0004107/0.9211, allocations: 214.2 kB / 1.297 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.9213, allocations: 81.94 kB / 1.297 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/0.926, allocations: 1.736 MB / 1.298 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.926, allocations: 5.844 kB / 1.298 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.926, allocations: 3.5 kB / 1.298 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.926, allocations: 3 kB / 1.298 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005491/0.9315, allocations: 2.551 MB / 1.301 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.9316, allocations: 1.344 kB / 1.301 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.932, allocations: 89.62 kB / 1.301 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003131/0.9351, allocations: 0.8046 MB / 1.302 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.9352, allocations: 13.78 kB / 1.302 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/0.9412, allocations: 4.86 MB / 1.307 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9412, allocations: 0 / 1.307 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004678/0.9459, allocations: 2.158 MB / 1.309 GB, free: 7.594 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/0.9463, allocations: 226.3 kB / 1.309 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.9465, allocations: 9.844 kB / 1.309 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.9471, allocations: 28.34 kB / 1.309 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.9473, allocations: 53.78 kB / 1.309 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.9474, allocations: 22.39 kB / 1.309 GB, free: 7.449 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005615/0.9479, allocations: 0.4953 MB / 1.309 GB, free: 7.355 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.21e-07/0.9479, allocations: 0 / 1.309 GB, free: 7.355 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009572/0.9489, allocations: 293.9 kB / 1.31 GB, free: 7.336 MB / 1.014 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.005077/0.954, allocations: 2.815 MB / 1.312 GB, free: 6.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003246/0.9572, allocations: 1.519 MB / 1.314 GB, free: 6.172 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9572, allocations: 0 / 1.314 GB, free: 6.172 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.9588, allocations: 0.9129 MB / 1.315 GB, free: 5.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.9607, allocations: 452.4 kB / 1.315 GB, free: 5.832 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02712/0.9878, allocations: 10.69 MB / 1.326 GB, free: 3.176 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.9883, allocations: 0.9765 MB / 1.327 GB, free: 2.461 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006454/0.989, allocations: 165.3 kB / 1.327 GB, free: 2.418 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.9893, allocations: 283.1 kB / 1.327 GB, free: 2.41 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.9893, allocations: 1.203 kB / 1.327 GB, free: 2.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08891/1.078, allocations: 29.45 MB / 1.356 GB, free: 5.312 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.984/10.06, allocations: 11.86 kB / 1.356 GB, free: 5.301 MB / 1.029 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.csv","/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