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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001318/0.001318, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00132/0.00132, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.473/1.473, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 64.95 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00336/0.3444, allocations: 1.255 MB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003764/0.3448, allocations: 127.5 kB / 0.9516 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.3448, allocations: 0 / 0.9516 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.3449, allocations: 0 / 0.9516 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.345, allocations: 3.938 kB / 0.9516 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.3453, allocations: 35.89 kB / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.3454, allocations: 15.94 kB / 0.9517 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.4e-05/0.3455, allocations: 11.97 kB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.913e-05/0.3455, allocations: 7.938 kB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.3456, allocations: 0 / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3456, allocations: 4 kB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.3458, allocations: 51.94 kB / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.3458, allocations: 0 / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.3458, allocations: 3.938 kB / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.346, allocations: 43.94 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.346, allocations: 0 / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.785e-06/0.346, allocations: 4 kB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.346, allocations: 0 / 0.9518 GB, free: 7.324 MB / 0.7325 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.000514/0.3465, allocations: 333.2 kB / 0.9521 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3466, allocations: 8.031 kB / 0.9521 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.3466, allocations: 0.9375 kB / 0.9521 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.3468, allocations: 176.2 kB / 0.9523 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3468, allocations: 384 / 0.9523 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3468, allocations: 4.375 kB / 0.9523 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.97e-05/0.347, allocations: 37.83 kB / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.347, allocations: 0 / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.347, allocations: 0 / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.347, allocations: 0 / 0.9523 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.347, allocations: 7.984 kB / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.3473, allocations: 153.7 kB / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.3473, allocations: 22.55 kB / 0.9525 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.3474, allocations: 16.91 kB / 0.9525 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007958/0.3482, allocations: 0.6052 MB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3482, allocations: 34.5 kB / 0.9531 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.3482, allocations: 0 / 0.9531 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000177/0.3484, allocations: 49.53 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3485, allocations: 55.34 kB / 0.9532 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.923e-05/0.3485, allocations: 105.8 kB / 0.9533 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3486, allocations: 29.83 kB / 0.9534 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.3486, allocations: 84.12 kB / 0.9534 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3487, allocations: 3.906 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.3487, allocations: 13.72 kB / 0.9535 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3488, allocations: 314.8 kB / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.3488, allocations: 0 / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.3489, allocations: 4 kB / 0.9538 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.192e-05/0.3489, allocations: 12.92 kB / 0.9538 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3489, allocations: 0 / 0.9538 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.485e-05/0.349, allocations: 49.62 kB / 0.9538 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.349, allocations: 4 kB / 0.9538 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.349, allocations: 3.938 kB / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.349, allocations: 0 / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.3491, allocations: 4 kB / 0.9538 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3491, allocations: 3.984 kB / 0.9538 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.3491, allocations: 0 / 0.9538 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.3492, allocations: 0 / 0.9538 GB, free: 4.867 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.046e-05/0.3492, allocations: 125.4 kB / 0.954 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.3493, allocations: 7.875 kB / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.3494, allocations: 40.83 kB / 0.954 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3494, allocations: 0 / 0.954 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3494, allocations: 3.984 kB / 0.954 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3494, allocations: 0 / 0.954 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3495, allocations: 149.6 kB / 0.9542 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3495, allocations: 0 / 0.9542 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.3496, allocations: 15.86 kB / 0.9542 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3496, allocations: 4.031 kB / 0.9542 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.3496, allocations: 0 / 0.9542 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3496, allocations: 4 kB / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3496, allocations: 0 / 0.9542 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.3497, allocations: 57.14 kB / 0.9542 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.3498, allocations: 88.94 kB / 0.9543 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3498, allocations: 8 kB / 0.9543 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.3498, allocations: 4.031 kB / 0.9543 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.3498, allocations: 0 / 0.9543 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3498, allocations: 4 kB / 0.9543 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.3499, allocations: 79.28 kB / 0.9544 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3499, allocations: 0 / 0.9544 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002086/0.3501, allocations: 16 kB / 0.9544 GB, free: 4.172 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000186/0.3503, allocations: 111.2 kB / 0.9545 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.3504, allocations: 19.94 kB / 0.9545 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3504, allocations: 4.062 kB / 0.9546 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.396e-05/0.3504, allocations: 7.984 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3507, allocations: 4 kB / 0.9546 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.351, allocations: 133.9 kB / 0.9547 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3513, allocations: 0.6766 MB / 0.9554 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.3513, allocations: 7.438 kB / 0.9554 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.3514, allocations: 8 kB / 0.9554 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of Templates: time 0.002631/0.354, allocations: 0.6076 MB / 0.956 GB, free: 2.539 MB / 0.7325 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/jenkins1/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