Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009302/0.0009302, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.000868/0.000868, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9102/0.9102, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.802/1.802, allocations: 389.1 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.934e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001937/0.001966, allocations: 1.271 MB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002774/0.002244, allocations: 95.62 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.002276, allocations: 0 / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.002299, allocations: 0 / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.513e-05/0.002394, allocations: 11.92 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.002656, allocations: 27.89 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.173e-05/0.002727, allocations: 11.94 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.803e-05/0.002795, allocations: 4 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.002854, allocations: 11.98 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.482e-05/0.002919, allocations: 11.92 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.002937, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003466/0.003284, allocations: 43.83 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.003302, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.003324, allocations: 4 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.003467, allocations: 35.94 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00347, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.044e-06/0.003472, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.003478, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 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.000413/0.003891, allocations: 246.3 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.003936, allocations: 8.75 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.004187, allocations: 36.78 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.004308, allocations: 109.7 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.004323, allocations: 384 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.004334, allocations: 384 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.004462, allocations: 46.23 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.004475, allocations: 7.922 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.004487, allocations: 4 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.004493, allocations: 4 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.883e-05/0.004571, allocations: 23.91 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001509/0.004722, allocations: 105.3 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.004824, allocations: 42.58 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.004863, allocations: 20.91 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.004881, allocations: 0 / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.004905, allocations: 38.56 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.004906, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002251/0.005131, allocations: 73.55 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.005167, allocations: 51.41 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.005231, allocations: 97.84 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.005243, allocations: 25.7 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.005275, allocations: 92.12 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.005309, allocations: 3.953 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.005337, allocations: 13.78 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.005429, allocations: 322.8 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.005469, allocations: 11.98 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.005497, allocations: 7.984 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.81e-05/0.005565, allocations: 32.84 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.005568, allocations: 0 / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.316e-05/0.005661, allocations: 61.61 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.005677, allocations: 9.656 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.005683, allocations: 0 / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.005699, allocations: 3.938 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.005782, allocations: 8 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.005791, allocations: 7.984 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.005817, allocations: 0 / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.005824, allocations: 0 / 1.004 GB, free: 9.805 MB / 0.9636 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 6.64e-05/0.00589, allocations: 113.8 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.005896, allocations: 3.953 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.005929, allocations: 7.312 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.005932, allocations: 7.938 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.005938, allocations: 4 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.005942, allocations: 3.984 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.943e-05/0.006012, allocations: 97.33 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.006012, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.006043, allocations: 11.98 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.006044, allocations: 4 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.006052, allocations: 0 / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006054, allocations: 3.938 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.006056, allocations: 3.938 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.006163, allocations: 81.11 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.006171, allocations: 0 / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.006183, allocations: 0 / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.006204, allocations: 4 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.006226, allocations: 7.922 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.006229, allocations: 4 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.00626, allocations: 79.28 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00626, allocations: 0 / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001225/0.006383, allocations: 8 kB / 1.004 GB, free: 9.305 MB / 0.9636 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 8.191e-05/0.006464, allocations: 95.28 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.006591, allocations: 35.91 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.006593, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.006621, allocations: 15.98 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.006808, allocations: 12.25 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.007173, allocations: 158.5 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.007215, allocations: 59.34 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.007257, allocations: 8.5 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.007258, allocations: 4 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of Templates: time 0.001757/0.009014, allocations: 0.6866 MB / 1.005 GB, free: 8.18 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.743098146282136]