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.001873/0.001873, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002223/0.002223, allocations: 219 kB / 23.04 MB, free: 5.078 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 3.306/3.306, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) [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.002032/0.002032, allocations: 67.12 kB / 1.171 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3815, allocations: 179 MB / 1.345 GB, free: 332 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002734/0.3842, allocations: 1.285 MB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003186/0.3845, allocations: 123.5 kB / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.3846, allocations: 0 / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.3846, allocations: 0 / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.3847, allocations: 7.922 kB / 1.347 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3849, allocations: 39.91 kB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.385, allocations: 23.84 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.385, allocations: 0 / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.385, allocations: 4 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.3851, allocations: 7.984 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3851, allocations: 3.938 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3852, allocations: 51.95 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.3852, allocations: 7.875 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.3853, allocations: 15.98 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3854, allocations: 40.09 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3854, allocations: 4 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3854, allocations: 0 / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3854, allocations: 0 / 1.347 GB, free: 14.7 MB / 1.045 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.0004017/0.3858, allocations: 258.2 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3859, allocations: 12.03 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.739e-05/0.3859, allocations: 192 / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.3859, allocations: 30.75 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.3859, allocations: 4.938 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3861, allocations: 106.5 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.3861, allocations: 384 / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.3861, allocations: 3.938 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.3862, allocations: 37.69 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3862, allocations: 0 / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3862, allocations: 3.938 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3862, allocations: 0 / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.315e-05/0.3862, allocations: 4 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.3864, allocations: 128.8 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.3865, allocations: 22.55 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.3865, allocations: 12.92 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/0.387, allocations: 79.92 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.387, allocations: 30.56 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.387, allocations: 4 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001596/0.3872, allocations: 49.58 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3872, allocations: 51.41 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.3873, allocations: 97.86 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3873, allocations: 29.7 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.3874, allocations: 84.12 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3874, allocations: 3.953 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.3874, allocations: 21.66 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3875, allocations: 315 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.3876, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.3876, allocations: 4 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.289e-05/0.3876, allocations: 16.8 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3876, allocations: 3.984 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.857e-05/0.3877, allocations: 41.64 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3877, allocations: 4 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3877, allocations: 96 / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3877, allocations: 8 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.3878, allocations: 4 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3878, allocations: 3.938 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.3878, allocations: 192 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.3878, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 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 9.665e-05/0.3879, allocations: 121.8 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.3879, allocations: 3.984 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.388, allocations: 44.95 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.388, allocations: 4.031 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.388, allocations: 3.984 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.388, allocations: 0 / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3882, allocations: 120.7 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3882, allocations: 0 / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.3882, allocations: 7.984 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3882, allocations: 0 / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3882, allocations: 8 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3882, allocations: 0 / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3882, allocations: 0 / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.219e-05/0.3883, allocations: 72.97 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.3883, allocations: 7.984 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3883, allocations: 0 / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.3883, allocations: 0 / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.3883, allocations: 0 / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.3883, allocations: 0 / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.3884, allocations: 79.28 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3884, allocations: 0 / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001962/0.3886, allocations: 19.97 kB / 1.349 GB, free: 12.5 MB / 1.045 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.0004673/0.389, allocations: 0.6201 MB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.3891, allocations: 11.94 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3891, allocations: 96 / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.3892, allocations: 8 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3895, allocations: 11.98 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3905, allocations: 1.087 MB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3909, allocations: 0.6766 MB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.3909, allocations: 4 kB / 1.351 GB, free: 9.938 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.3909, allocations: 11.42 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of SimCode: time 7.22e-07/0.3909, allocations: 4 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.4135, allocations: 1.559 MB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 13.05 kB / 1.353 GB, free: 8.504 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/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: 18.611131434037816]