Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001748/0.001748, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001565/0.001565, allocations: 219.2 kB / 23.04 MB, free: 5.074 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.275/3.275, allocations: 0.49 GB / 0.7959 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_12_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.00235/0.00235, allocations: 60.97 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.435, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003025/0.438, allocations: 1.282 MB / 1.328 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004339/0.4385, allocations: 123.5 kB / 1.328 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.4385, allocations: 4 kB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.4386, allocations: 0 / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.4387, allocations: 3.938 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.439, allocations: 43.83 kB / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.4391, allocations: 11.92 kB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.4392, allocations: 11.98 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.4392, allocations: 0 / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.4393, allocations: 8 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.4393, allocations: 3.938 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.4395, allocations: 47.94 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.4395, allocations: 8 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.4396, allocations: 4 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.4398, allocations: 44.09 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4398, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of FrontEnd: time 3.436e-06/0.4398, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.4398, allocations: 4 kB / 1.328 GB, free: 396 kB / 1.014 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.0006201/0.4404, allocations: 266.2 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.4405, allocations: 8.031 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.345e-05/0.4405, allocations: 192 / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.4405, allocations: 30.75 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.4406, allocations: 4.938 kB / 1.329 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.4408, allocations: 106.5 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4408, allocations: 384 / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.4408, allocations: 15.94 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.4409, allocations: 25.7 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4409, allocations: 4 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4409, allocations: 0 / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4409, allocations: 0 / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.441, allocations: 15.91 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.4413, allocations: 120.8 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.129e-05/0.4413, allocations: 22.52 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.4414, allocations: 16.84 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005599/0.4419, allocations: 79.98 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.442, allocations: 38.5 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.442, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001928/0.4422, allocations: 41.64 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.4422, allocations: 55.39 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4423, allocations: 105.9 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.4424, allocations: 25.7 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.4424, allocations: 80.14 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.4424, allocations: 3.953 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.4425, allocations: 17.72 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4427, allocations: 314.8 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.4427, allocations: 4 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.4427, allocations: 0 / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.4428, allocations: 20.92 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4428, allocations: 0 / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.02e-05/0.4428, allocations: 49.52 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4429, allocations: 5.562 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4429, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4429, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.443, allocations: 4 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.443, allocations: 0 / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.443, allocations: 0 / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.443, allocations: 8.031 kB / 1.33 GB, free: 14.73 MB / 1.029 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 0.0001147/0.4431, allocations: 114.3 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.4431, allocations: 0 / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.4432, allocations: 48.94 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4432, allocations: 4 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4433, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4433, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.4434, allocations: 132.7 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4434, allocations: 4.031 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.4434, allocations: 4 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4435, allocations: 0 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.4435, allocations: 0 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4435, allocations: 0 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4435, allocations: 0 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.4436, allocations: 69.06 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.4436, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4436, allocations: 4.031 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/0.4436, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.4436, allocations: 3.984 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.4436, allocations: 11.88 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.4437, allocations: 75.28 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4437, allocations: 3.938 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002507/0.4439, allocations: 19.94 kB / 1.33 GB, free: 14.17 MB / 1.029 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.0006046/0.4445, allocations: 0.6162 MB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.4446, allocations: 11.98 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4446, allocations: 0 / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.4447, allocations: 7.938 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.445, allocations: 4 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.4465, allocations: 1.099 MB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.447, allocations: 0.6768 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.447, allocations: 4.359 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.4471, allocations: 11.44 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of SimCode: time 4.5e-07/0.4471, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.4705, allocations: 1.566 MB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.48, allocations: 7.109 kB / 1.334 GB, free: 10.18 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.54525015404215]