Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001458/0.001458, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.65/2.65, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004229, allocations: 12 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.869, allocations: 142.4 MB / 0.9544 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001298/0.8704, allocations: 0.9844 MB / 0.9554 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.8707, allocations: 110.3 kB / 0.9555 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.8707, allocations: 0 / 0.9555 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.8707, allocations: 3.938 kB / 0.9555 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.8708, allocations: 5.297 kB / 0.9555 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.871, allocations: 28.03 kB / 0.9555 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.8711, allocations: 17.33 kB / 0.9555 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.8711, allocations: 1.25 kB / 0.9556 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.8712, allocations: 10.83 kB / 0.9556 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.8712, allocations: 2.562 kB / 0.9556 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.8713, allocations: 5.188 kB / 0.9556 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.8714, allocations: 47.5 kB / 0.9556 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.8714, allocations: 1.219 kB / 0.9556 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.8714, allocations: 26.8 kB / 0.9556 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.818e-05/0.8715, allocations: 30.62 kB / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.8715, allocations: 0 / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8715, allocations: 1.188 kB / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.8715, allocations: 0 / 0.9557 GB, free: 6.949 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003015/0.8718, allocations: 328.8 kB / 0.956 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8719, allocations: 9.938 kB / 0.956 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.8719, allocations: 5.078 kB / 0.956 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.709e-05/0.872, allocations: 172.5 kB / 0.9562 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.872, allocations: 0 / 0.9562 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.8721, allocations: 5.312 kB / 0.9562 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.579e-05/0.8721, allocations: 37.17 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.8722, allocations: 0 / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.8722, allocations: 0 / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.8722, allocations: 1.312 kB / 0.9562 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.8722, allocations: 7.578 kB / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.8723, allocations: 160 kB / 0.9564 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.328e-05/0.8724, allocations: 27.83 kB / 0.9564 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.8724, allocations: 7.547 kB / 0.9564 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/0.873, allocations: 0.6096 MB / 0.957 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.8731, allocations: 31.97 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8731, allocations: 0 / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001395/0.8732, allocations: 47.3 kB / 0.9571 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.8732, allocations: 52.41 kB / 0.9571 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.8733, allocations: 101.4 kB / 0.9572 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.8733, allocations: 26.67 kB / 0.9572 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.8733, allocations: 80.14 kB / 0.9573 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.8734, allocations: 4.906 kB / 0.9573 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.8734, allocations: 1.406 kB / 0.9573 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.8734, allocations: 318.8 kB / 0.9576 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.8735, allocations: 14.98 kB / 0.9576 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.8735, allocations: 1.344 kB / 0.9576 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.8735, allocations: 6.469 kB / 0.9576 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8735, allocations: 0 / 0.9576 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.491e-05/0.8736, allocations: 38.98 kB / 0.9577 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8736, allocations: 8.406 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8736, allocations: 0.9375 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8736, allocations: 0 / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.8737, allocations: 3.125 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8737, allocations: 4.734 kB / 0.9577 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.8737, allocations: 5.5 kB / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.8737, allocations: 0 / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.8738, allocations: 111.4 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.8738, allocations: 4.812 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.895e-05/0.8739, allocations: 46.25 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8739, allocations: 0 / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.8739, allocations: 0 / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8739, allocations: 1.469 kB / 0.9579 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.96e-05/0.874, allocations: 160.4 kB / 0.958 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.874, allocations: 0 / 0.958 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.874, allocations: 6.625 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.874, allocations: 1.375 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.874, allocations: 0 / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.874, allocations: 1.5 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.874, allocations: 0 / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.236e-05/0.8741, allocations: 66.05 kB / 0.9581 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.8741, allocations: 82.73 kB / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.8742, allocations: 0 / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.527e-05/0.8742, allocations: 1.312 kB / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.8742, allocations: 1.469 kB / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.8742, allocations: 0 / 0.9582 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.279e-05/0.8742, allocations: 82.12 kB / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8742, allocations: 0 / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000207/0.8744, allocations: 16.27 kB / 0.9583 GB, free: 4.031 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.8746, allocations: 119.7 kB / 0.9584 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.474e-05/0.8747, allocations: 19.27 kB / 0.9584 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8747, allocations: 0 / 0.9584 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.8747, allocations: 4.344 kB / 0.9584 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.875, allocations: 12.72 kB / 0.9584 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.8752, allocations: 106.2 kB / 0.9585 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.8754, allocations: 0.6839 MB / 0.9592 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.8754, allocations: 5.781 kB / 0.9592 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.8754, allocations: 9.781 kB / 0.9592 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8754, allocations: 3.938 kB / 0.9592 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of Templates: time 0.002718/0.8781, allocations: 0.5714 MB / 0.9598 GB, free: 2.773 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches