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.0008332/0.0008332, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008031/0.0008031, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8662/0.8662, allocations: 177.1 MB / 202.8 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.722/1.722, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.941e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001577/0.001596, allocations: 1.267 MB / 1.001 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.001812, allocations: 91.64 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.001838, allocations: 3.938 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.001856, allocations: 3.938 kB / 1.001 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.001921, allocations: 3.984 kB / 1.001 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.002109, allocations: 27.89 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.752e-05/0.002157, allocations: 15.88 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.002198, allocations: 7.984 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.002235, allocations: 8 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.002286, allocations: 7.938 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.002299, allocations: 0 / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.002398, allocations: 39.94 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.002414, allocations: 7.984 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.002429, allocations: 4 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.00253, allocations: 39.89 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002531, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.002532, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.002537, allocations: 0 / 1.001 GB, free: 11.96 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.0002972/0.002834, allocations: 258.3 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.002875, allocations: 12.75 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.002902, allocations: 30.75 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.003096, allocations: 28.84 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.733e-05/0.003183, allocations: 109.8 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.003195, allocations: 384 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.003206, allocations: 4.359 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.003309, allocations: 53.92 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.003315, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.003322, allocations: 0 / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.003326, allocations: 4 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.003396, allocations: 23.98 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.00352, allocations: 124.8 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.003609, allocations: 42.58 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.003645, allocations: 12.92 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.003658, allocations: 0 / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.003677, allocations: 46.44 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.003678, allocations: 4 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/0.003858, allocations: 65.66 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.003883, allocations: 51.41 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.003937, allocations: 97.86 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.003948, allocations: 25.7 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.003969, allocations: 80.14 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.003993, allocations: 15.88 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.004022, allocations: 13.72 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.00409, allocations: 314.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.004124, allocations: 16.05 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.004154, allocations: 15.98 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.004227, allocations: 32.78 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004229, allocations: 0 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.997e-05/0.004319, allocations: 57.69 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.004332, allocations: 11.92 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004337, allocations: 4.094 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.004348, allocations: 0 / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.004414, allocations: 4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.004418, allocations: 3.938 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.004451, allocations: 11.94 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.004456, allocations: 0 / 1.003 GB, free: 10.22 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 5.286e-05/0.004509, allocations: 113.8 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.004515, allocations: 3.938 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.004541, allocations: 3.312 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.004542, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.004547, allocations: 4 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.00455, allocations: 7.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.33e-05/0.004623, allocations: 128.7 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.004624, allocations: 0 / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.004652, allocations: 4 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.004655, allocations: 3.938 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.004663, allocations: 7.984 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.004663, allocations: 0 / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004664, allocations: 0 / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.935e-05/0.004763, allocations: 81.12 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.004772, allocations: 3.984 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.004782, allocations: 3.938 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.004806, allocations: 4 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.004821, allocations: 0 / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.004824, allocations: 0 / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.48e-05/0.004849, allocations: 87.44 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.004849, allocations: 0 / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001236/0.004973, allocations: 8 kB / 1.003 GB, free: 9.688 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 0.0002716/0.005244, allocations: 0.6202 MB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.005351, allocations: 31.97 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005352, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.005383, allocations: 15.94 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.005547, allocations: 11.97 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.006421, allocations: 1.189 MB / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.006452, allocations: 55.36 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.39e-05/0.006496, allocations: 4 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.006535, allocations: 16.42 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of SimCode: time 5.82e-07/0.006536, allocations: 0 / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.02107, allocations: 2.211 MB / 1.007 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/6.9, allocations: 8 kB / 1.007 GB, free: 5.539 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv","/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: 10.923269054852426]