Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 116.3 kB / 17.13 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.975/2.975, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002207/1.163, allocations: 1.289 MB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/1.163, allocations: 120.4 kB / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/1.163, allocations: 0 / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/1.163, allocations: 0 / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.933e-05/1.164, allocations: 0 / 1.323 GB, free: 24.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/1.164, allocations: 40.33 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.162e-05/1.164, allocations: 23.66 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/1.164, allocations: 0 / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/1.164, allocations: 6.812 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/1.164, allocations: 8.953 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/1.164, allocations: 0 / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/1.164, allocations: 50.81 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/1.164, allocations: 6.75 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/1.164, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/1.164, allocations: 45.02 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/1.164, allocations: 0 / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.164, allocations: 0 / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.164, allocations: 4 kB / 1.323 GB, free: 23.99 MB / 1.061 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.000394/1.165, allocations: 336.4 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.165, allocations: 12.3 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/1.165, allocations: 3.406 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/1.165, allocations: 160.4 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/1.165, allocations: 4.312 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/1.165, allocations: 3.406 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.179e-05/1.165, allocations: 39.73 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/1.165, allocations: 4 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/1.165, allocations: 0 / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.165, allocations: 3.938 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.122e-05/1.165, allocations: 5.219 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/1.165, allocations: 151.8 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.409e-05/1.165, allocations: 31.42 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/1.165, allocations: 4.859 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006171/1.166, allocations: 0.6139 MB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/1.166, allocations: 30.56 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/1.166, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001535/1.166, allocations: 45.53 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.166, allocations: 53.72 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/1.166, allocations: 96.14 kB / 1.325 GB, free: 22.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/1.166, allocations: 32.55 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.583e-05/1.166, allocations: 80.14 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/1.166, allocations: 4 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/1.166, allocations: 16.28 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/1.166, allocations: 314.8 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/1.166, allocations: 5.734 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/1.166, allocations: 6.688 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/1.166, allocations: 14.8 kB / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.166, allocations: 0 / 1.325 GB, free: 21.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.341e-05/1.166, allocations: 45.84 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.166, allocations: 8.953 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.166, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/1.166, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-05/1.166, allocations: 3.062 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.166, allocations: 6.781 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/1.166, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/1.166, allocations: 0 / 1.326 GB, free: 21.72 MB / 1.061 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 5.21e-05/1.166, allocations: 116.6 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/1.166, allocations: 3.938 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.653e-05/1.167, allocations: 47.86 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.167, allocations: 3.125 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.167, allocations: 4 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.167, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.959e-05/1.167, allocations: 151.9 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.167, allocations: 3.938 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/1.167, allocations: 6 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/1.167, allocations: 4.031 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/1.167, allocations: 2.844 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/1.167, allocations: 0 / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.167, allocations: 3.938 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.441e-05/1.167, allocations: 60.89 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/1.167, allocations: 91.47 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/1.167, allocations: 0 / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/1.167, allocations: 32 / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/1.167, allocations: 4 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/1.167, allocations: 2.594 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.922e-05/1.167, allocations: 85.36 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.167, allocations: 0 / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001969/1.167, allocations: 15.03 kB / 1.326 GB, free: 21.09 MB / 1.061 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.0001545/1.167, allocations: 116.1 kB / 1.326 GB, free: 20.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.642e-05/1.167, allocations: 12.16 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.167, allocations: 4.062 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.137e-05/1.167, allocations: 6.812 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/1.168, allocations: 13.89 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/1.168, allocations: 131.4 kB / 1.326 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/1.168, allocations: 0.6717 MB / 1.327 GB, free: 20.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/1.168, allocations: 13.22 kB / 1.327 GB, free: 20.13 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.168, allocations: 0 / 1.327 GB, free: 20.13 MB / 1.061 GB Notification: Performance of Templates: time 0.002413/1.171, allocations: 0.6108 MB / 1.328 GB, free: 20.09 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.077715923995129]