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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 117 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 191.7 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.862/2.862, allocations: 437.1 MB / 0.7177 GB, free: 4.559 MB / 0.5606 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3769, allocations: 151.6 MB / 1.176 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002306/0.3793, allocations: 1.265 MB / 1.177 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.3796, allocations: 116 kB / 1.177 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.3796, allocations: 0 / 1.177 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.3797, allocations: 3.984 kB / 1.177 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.985e-05/0.3798, allocations: 7.938 kB / 1.177 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.38, allocations: 43.88 kB / 1.177 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.683e-05/0.3801, allocations: 11.94 kB / 1.177 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.3801, allocations: 4 kB / 1.177 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.3802, allocations: 7.875 kB / 1.177 GB, free: 4.445 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.3802, allocations: 7.984 kB / 1.177 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3803, allocations: 3.938 kB / 1.177 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3804, allocations: 51.94 kB / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3804, allocations: 0 / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.3805, allocations: 11.94 kB / 1.177 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.3806, allocations: 43.88 kB / 1.177 GB, free: 4.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3806, allocations: 0 / 1.177 GB, free: 4.328 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3806, allocations: 0 / 1.177 GB, free: 4.328 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3806, allocations: 0 / 1.177 GB, free: 4.328 MB / 0.92 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.0004482/0.3811, allocations: 341.8 kB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3811, allocations: 12.03 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.3811, allocations: 0.9375 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3813, allocations: 160.4 kB / 1.178 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3813, allocations: 4.375 kB / 1.178 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3814, allocations: 8.312 kB / 1.178 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.3814, allocations: 37.62 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3815, allocations: 0 / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3815, allocations: 0 / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.3815, allocations: 0 / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.3815, allocations: 7.938 kB / 1.178 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.3817, allocations: 161.7 kB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.332e-05/0.3818, allocations: 26.58 kB / 1.178 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.3818, allocations: 8.922 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007539/0.3826, allocations: 0.6051 MB / 1.179 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3826, allocations: 38.56 kB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.3826, allocations: 0 / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.3828, allocations: 37.64 kB / 1.179 GB, free: 2.602 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.3828, allocations: 59.52 kB / 1.179 GB, free: 2.531 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/0.3829, allocations: 97.86 kB / 1.179 GB, free: 2.426 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3829, allocations: 25.7 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.383, allocations: 84.14 kB / 1.179 GB, free: 2.309 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.383, allocations: 3.953 kB / 1.179 GB, free: 2.305 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.3831, allocations: 13.72 kB / 1.179 GB, free: 2.285 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3832, allocations: 318.8 kB / 1.179 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.3832, allocations: 0 / 1.179 GB, free: 1.965 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.3832, allocations: 8 kB / 1.179 GB, free: 1.957 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.3833, allocations: 16.8 kB / 1.179 GB, free: 1.938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3833, allocations: 0 / 1.179 GB, free: 1.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.27e-05/0.3833, allocations: 37.64 kB / 1.179 GB, free: 1.895 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3834, allocations: 11.98 kB / 1.179 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3834, allocations: 0 / 1.179 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3834, allocations: 0 / 1.179 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.3835, allocations: 4 kB / 1.179 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3835, allocations: 3.938 kB / 1.179 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.3835, allocations: 4.094 kB / 1.179 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3835, allocations: 4 kB / 1.179 GB, free: 1.867 MB / 0.92 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.161e-05/0.3836, allocations: 105.8 kB / 1.18 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.3836, allocations: 7.938 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.971e-05/0.3837, allocations: 48.75 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3837, allocations: 3.938 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3837, allocations: 0 / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3837, allocations: 0 / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3839, allocations: 153.7 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3839, allocations: 7.969 kB / 1.18 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.3839, allocations: 4 kB / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3839, allocations: 192 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3839, allocations: 0 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3839, allocations: 0 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3839, allocations: 0 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.211e-05/0.384, allocations: 77 kB / 1.18 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3841, allocations: 81.08 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.3841, allocations: 4 kB / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.467e-05/0.3841, allocations: 0 / 1.18 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.3841, allocations: 4 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.3841, allocations: 3.984 kB / 1.18 GB, free: 1.273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.3842, allocations: 79.28 kB / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3842, allocations: 0 / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001935/0.3844, allocations: 15.94 kB / 1.18 GB, free: 1.18 MB / 0.92 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.0001796/0.3846, allocations: 119.2 kB / 1.18 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.206e-05/0.3847, allocations: 12 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3847, allocations: 0 / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.436e-05/0.3847, allocations: 7.938 kB / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3849, allocations: 19.92 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.3853, allocations: 119.7 kB / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3856, allocations: 0.6768 MB / 1.181 GB, free: 164 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.3856, allocations: 11.56 kB / 1.181 GB, free: 152 kB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.3856, allocations: 0 / 1.181 GB, free: 152 kB / 0.92 GB Notification: Performance of Templates: time 0.002218/0.3878, allocations: 0.605 MB / 1.182 GB, free: 15.54 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.0379988939967]