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.002131/0.002131, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002068/0.002068, allocations: 219.1 kB / 23.03 MB, free: 4.945 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.229/3.229, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 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.002054/0.002054, allocations: 61.78 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3567, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00244/0.3591, allocations: 1.274 MB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003324/0.3595, allocations: 103.6 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.3595, allocations: 4 kB / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.3595, allocations: 0 / 1.347 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.3e-05/0.3596, allocations: 15.92 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.3598, allocations: 35.89 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.3599, allocations: 7.938 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.271e-05/0.3599, allocations: 11.98 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.3599, allocations: 7.922 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.36, allocations: 8 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.36, allocations: 3.938 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3602, allocations: 55.94 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.3602, allocations: 0 / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.3602, allocations: 7.938 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3603, allocations: 36.17 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3603, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3603, allocations: 3.938 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3603, allocations: 0 / 1.347 GB, free: 14.39 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.0004431/0.3608, allocations: 262.2 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3608, allocations: 11.97 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.3e-05/0.3608, allocations: 192 / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.3609, allocations: 38.73 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.3609, allocations: 4.938 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.361, allocations: 106.5 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.361, allocations: 4.375 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.361, allocations: 7.938 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.3611, allocations: 29.7 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3611, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.3611, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3611, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.59e-05/0.3612, allocations: 11.92 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.3613, allocations: 124.7 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.3614, allocations: 26.55 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.3614, allocations: 16.91 kB / 1.347 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.362, allocations: 75.92 kB / 1.347 GB, free: 13.56 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.362, allocations: 38.56 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.362, allocations: 0 / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.3621, allocations: 37.64 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3622, allocations: 55.41 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.3623, allocations: 101.8 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3623, allocations: 29.83 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.3623, allocations: 80.14 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.3623, allocations: 3.953 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.3624, allocations: 17.72 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3625, allocations: 314.8 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.3625, allocations: 4 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-06/0.3625, allocations: 0 / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.3626, allocations: 16.86 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3626, allocations: 0 / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.035e-05/0.3626, allocations: 49.64 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3626, allocations: 6.031 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3626, allocations: 3.984 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3627, allocations: 3.938 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.832e-05/0.3627, allocations: 4 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3627, allocations: 3.938 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.3627, allocations: 4 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.3627, allocations: 4 kB / 1.348 GB, free: 12.73 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 7.457e-05/0.3628, allocations: 109.8 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.3628, allocations: 0 / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.933e-05/0.3629, allocations: 56.97 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3629, allocations: 0 / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3629, allocations: 0 / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3629, allocations: 0 / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.363, allocations: 128.7 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.363, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.3631, allocations: 4 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3631, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.3631, allocations: 192 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3631, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3631, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.415e-05/0.3632, allocations: 81.03 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.3632, allocations: 0 / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3632, allocations: 4 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.3632, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.3632, allocations: 3.938 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.3632, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.974e-05/0.3633, allocations: 83.27 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3633, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002029/0.3635, allocations: 19.94 kB / 1.349 GB, free: 12.17 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.0004467/0.3639, allocations: 0.6085 MB / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.125e-05/0.364, allocations: 11.94 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.364, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.364, allocations: 11.98 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.3643, allocations: 5.031 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.3653, allocations: 1.091 MB / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.3654, allocations: 67.55 kB / 1.35 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.3654, allocations: 7.938 kB / 1.35 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.3654, allocations: 11.38 kB / 1.35 GB, free: 10.22 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3654, allocations: 4 kB / 1.35 GB, free: 10.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.3874, allocations: 1.624 MB / 1.352 GB, free: 8.746 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 8.234 kB / 1.352 GB, free: 8.742 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.74826221400872]