Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_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_10_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.008653/0.008653, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001918/0.001918, allocations: 196.1 kB / 16.79 MB, free: 5.809 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.52/1.52, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.761/2.761, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 59.91 kB / 0.8692 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.908/0.9097, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003403/0.9132, allocations: 1.323 MB / 1.019 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004228/0.9136, allocations: 127.5 kB / 1.019 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.9137, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.9137, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.9138, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.9141, allocations: 43.83 kB / 1.019 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.9141, allocations: 11.92 kB / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.9142, allocations: 4 kB / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.292e-05/0.9142, allocations: 0 / 1.019 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.9143, allocations: 4 kB / 1.019 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.9143, allocations: 3.938 kB / 1.019 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.9145, allocations: 51.94 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.9145, allocations: 0 / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.9145, allocations: 15.98 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.9147, allocations: 31.89 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9147, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9147, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.9147, allocations: 0 / 1.019 GB, free: 1.195 MB / 0.7637 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.0004961/0.9152, allocations: 333.5 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.9152, allocations: 15.97 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.9153, allocations: 0.9375 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.9155, allocations: 164.3 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.9155, allocations: 8.375 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.9155, allocations: 384 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.9156, allocations: 37.81 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9156, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.9156, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9157, allocations: 3.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.9157, allocations: 8 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.9159, allocations: 157.5 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.753e-05/0.916, allocations: 26.58 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.916, allocations: 8.922 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/0.9168, allocations: 0.6012 MB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.9169, allocations: 42.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9169, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.9171, allocations: 37.64 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.9171, allocations: 55.53 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.9172, allocations: 101.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.9173, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.9173, allocations: 84.14 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.9173, allocations: 3.906 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.9174, allocations: 13.72 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9175, allocations: 318.8 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.9175, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.9176, allocations: 8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.9176, allocations: 12.86 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9176, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.489e-05/0.9177, allocations: 41.58 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9177, allocations: 8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.9177, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.9178, allocations: 3.984 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.9178, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.9178, allocations: 4.094 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.9179, allocations: 8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.9179, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 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 8.196e-05/0.918, allocations: 105.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.918, allocations: 7.938 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.9181, allocations: 52.73 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9181, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9181, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.9181, allocations: 4.031 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.9183, allocations: 153.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9183, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.676e-05/0.9183, allocations: 7.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9183, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.9183, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9183, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9184, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.94e-05/0.9185, allocations: 69.12 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.9185, allocations: 89.08 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.9185, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.9186, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.9186, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.9186, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.9186, allocations: 87.2 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9186, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002131/0.9189, allocations: 16 kB / 1.021 GB, free: 14.04 MB / 0.7794 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.0002095/0.9191, allocations: 125.3 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.911e-05/0.9192, allocations: 8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9192, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.9192, allocations: 4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.9195, allocations: 11.94 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.9198, allocations: 137.6 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.9202, allocations: 0.677 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.9202, allocations: 11.44 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.9202, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.002285/0.9225, allocations: 0.5953 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches