Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.PowerLaw,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_10_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.001196/0.001196, 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.00118/0.00118, allocations: 191.9 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.157/1.157, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.224/2.224, allocations: 437 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.487, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1717/0.6587, allocations: 192.6 MB / 1.206 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.6639, allocations: 4.004 MB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.6643, allocations: 23.88 kB / 1.209 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009465/0.6652, allocations: 473 kB / 1.21 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.6678, allocations: 1.528 MB / 1.211 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.6703, allocations: 1.357 MB / 1.213 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.6717, allocations: 1.631 MB / 1.214 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009561/0.6727, allocations: 0.951 MB / 1.215 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009629/0.6737, allocations: 0.9189 MB / 1.216 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.6745, allocations: 0.8488 MB / 1.217 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.6747, allocations: 96 kB / 1.217 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.6766, allocations: 1.305 MB / 1.218 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.6769, allocations: 355 kB / 1.219 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.6773, allocations: 0.5133 MB / 1.219 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.679, allocations: 1.617 MB / 1.221 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.679, allocations: 4 kB / 1.221 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.679, allocations: 0 / 1.221 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.679, allocations: 0 / 1.221 GB, free: 1.539 MB / 0.9669 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.002673/0.6817, allocations: 1.452 MB / 1.222 GB, free: 36 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.6817, allocations: 8.031 kB / 1.222 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.6819, allocations: 98.5 kB / 1.222 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.6833, allocations: 234.8 kB / 1.223 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.684, allocations: 0.5837 MB / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.6841, allocations: 44.92 kB / 1.223 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6842, allocations: 55.91 kB / 1.223 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.6855, allocations: 0.957 MB / 1.224 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.6856, allocations: 7.938 kB / 1.224 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.6856, allocations: 20 kB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.6857, allocations: 31.98 kB / 1.224 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.6871, allocations: 0.9367 MB / 1.225 GB, free: 12.94 MB / 0.9825 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.004734/0.6919, allocations: 4.266 MB / 1.229 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009085/0.6928, allocations: 0.6001 MB / 1.23 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.6935, allocations: 0.5136 MB / 1.23 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009006/0.6944, allocations: 0.8744 MB / 1.231 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.6945, allocations: 43 kB / 1.231 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001358/0.6958, allocations: 407.2 kB / 1.232 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 1.794e-06/0.6958, allocations: 3.938 kB / 1.232 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.01695/0.7128, allocations: 3.845 MB / 1.235 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.7128, allocations: 59.78 kB / 1.235 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.7136, allocations: 0.7078 MB / 1.236 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.7136, allocations: 37.7 kB / 1.236 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.7139, allocations: 316.6 kB / 1.236 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.714, allocations: 177.4 kB / 1.237 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.7142, allocations: 150.1 kB / 1.237 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7144, allocations: 326 kB / 1.237 GB, free: 180 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006279/0.715, allocations: 396.9 kB / 1.237 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/0.7157, allocations: 481.5 kB / 1.238 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.7171, allocations: 0.9258 MB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7171, allocations: 0 / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01102/0.7281, allocations: 2.564 MB / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7281, allocations: 8 kB / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7281, allocations: 0 / 1.241 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009436/0.7376, allocations: 1.738 MB / 1.243 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.7381, allocations: 95.86 kB / 1.243 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.7501, allocations: 7.154 MB / 1.25 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/0.7508, allocations: 16.06 kB / 1.25 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.891e-05/0.7509, allocations: 47.92 kB / 1.25 GB, free: 2.395 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 (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.0003386/0.7512, allocations: 207.2 kB / 1.25 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.7515, allocations: 83.05 kB / 1.25 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/0.7564, allocations: 1.742 MB / 1.252 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.7565, allocations: 8 kB / 1.252 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7565, allocations: 0 / 1.252 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.7565, allocations: 11.92 kB / 1.252 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3952/1.152, allocations: 2.545 MB / 1.255 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.152, allocations: 2.312 kB / 1.255 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/1.152, allocations: 87.61 kB / 1.255 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.155, allocations: 0.8 MB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/1.156, allocations: 15.89 kB / 1.256 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005919/1.161, allocations: 4.856 MB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.161, allocations: 2.188 kB / 1.26 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00503/1.167, allocations: 2.156 MB / 1.262 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/1.167, allocations: 229.5 kB / 1.263 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.167, allocations: 15.12 kB / 1.263 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/1.168, allocations: 21.47 kB / 1.263 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.168, allocations: 60.11 kB / 1.263 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/1.168, allocations: 20.5 kB / 1.263 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006425/1.168, allocations: 0.4959 MB / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.168, allocations: 0 / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009054/1.169, allocations: 292.5 kB / 1.263 GB, free: 228.6 MB / 0.9981 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.006027/1.175, allocations: 2.793 MB / 1.266 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003555/1.179, allocations: 1.522 MB / 1.268 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.179, allocations: 0 / 1.268 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/1.181, allocations: 0.9231 MB / 1.269 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.183, allocations: 462.6 kB / 1.269 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/1.21, allocations: 10.69 MB / 1.279 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/1.21, allocations: 0.9809 MB / 1.28 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006385/1.211, allocations: 158.4 kB / 1.281 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.211, allocations: 284.2 kB / 1.281 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.211, allocations: 0 / 1.281 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.164/2.376, allocations: 29.46 MB / 1.31 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/15.06, allocations: 8.234 kB / 1.31 GB, free: 194.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches