Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 109.9 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.718/2.718, allocations: 469.8 MB / 0.7491 GB, free: 2.98 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 71.88 kB / 1.073 GB, free: 108 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8409/0.8428, allocations: 159.1 MB / 1.229 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002436/0.8453, allocations: 1.265 MB / 1.23 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.8457, allocations: 127.5 kB / 1.23 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.8457, allocations: 0 / 1.23 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.8457, allocations: 0 / 1.23 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.8458, allocations: 3.938 kB / 1.23 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.846, allocations: 39.84 kB / 1.23 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.8461, allocations: 19.91 kB / 1.23 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.8462, allocations: 0 / 1.23 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.8462, allocations: 15.94 kB / 1.23 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.8463, allocations: 4 kB / 1.23 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.8463, allocations: 0 / 1.23 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.8464, allocations: 55.88 kB / 1.23 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.8464, allocations: 0 / 1.23 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.8465, allocations: 7.938 kB / 1.23 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.8466, allocations: 37.7 kB / 1.23 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8466, allocations: 0 / 1.23 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8466, allocations: 4 kB / 1.23 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.8466, allocations: 3.984 kB / 1.23 GB, free: 3.258 MB / 0.9356 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.0004645/0.8471, allocations: 335.4 kB / 1.23 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8472, allocations: 12.03 kB / 1.231 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.8472, allocations: 30.75 kB / 1.231 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.8472, allocations: 0.9375 kB / 1.231 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.8474, allocations: 164.3 kB / 1.231 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.8474, allocations: 384 / 1.231 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.8474, allocations: 8.125 kB / 1.231 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.8475, allocations: 37.69 kB / 1.231 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.8475, allocations: 4 kB / 1.231 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.8475, allocations: 0 / 1.231 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.8476, allocations: 0 / 1.231 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.8476, allocations: 7.938 kB / 1.231 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.8478, allocations: 153.6 kB / 1.231 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.8479, allocations: 22.61 kB / 1.231 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.8479, allocations: 12.86 kB / 1.231 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.8487, allocations: 0.6052 MB / 1.232 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.8487, allocations: 34.55 kB / 1.232 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8487, allocations: 0 / 1.232 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001436/0.8489, allocations: 45.64 kB / 1.232 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.8489, allocations: 51.41 kB / 1.232 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.849, allocations: 97.84 kB / 1.232 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.849, allocations: 25.83 kB / 1.232 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.8491, allocations: 88.14 kB / 1.232 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.8491, allocations: 11.89 kB / 1.232 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.8491, allocations: 9.719 kB / 1.232 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8493, allocations: 314.8 kB / 1.232 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.8493, allocations: 4 kB / 1.232 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.8493, allocations: 11.98 kB / 1.232 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.8494, allocations: 8.859 kB / 1.232 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8494, allocations: 8 kB / 1.232 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.411e-05/0.8494, allocations: 41.64 kB / 1.232 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.8495, allocations: 4 kB / 1.232 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.8495, allocations: 4 kB / 1.232 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8495, allocations: 0 / 1.232 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/0.8495, allocations: 3.938 kB / 1.232 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8496, allocations: 7.984 kB / 1.232 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.8496, allocations: 0 / 1.232 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.8496, allocations: 0 / 1.232 GB, free: 0.7617 MB / 0.9356 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 8.171e-05/0.8497, allocations: 109.9 kB / 1.232 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.8497, allocations: 7.938 kB / 1.232 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-05/0.8498, allocations: 48.94 kB / 1.232 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8498, allocations: 3.984 kB / 1.232 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.8498, allocations: 4 kB / 1.232 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8498, allocations: 0 / 1.232 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.85, allocations: 161.6 kB / 1.233 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.85, allocations: 0 / 1.233 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.85, allocations: 4 kB / 1.233 GB, free: 372 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.85, allocations: 4.031 kB / 1.233 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.85, allocations: 0 / 1.233 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.85, allocations: 0 / 1.233 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.85, allocations: 0 / 1.233 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.523e-05/0.8501, allocations: 73 kB / 1.233 GB, free: 276 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.8502, allocations: 77.11 kB / 1.233 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.8502, allocations: 0 / 1.233 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/0.8502, allocations: 3.938 kB / 1.233 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.8502, allocations: 8.031 kB / 1.233 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.8502, allocations: 0 / 1.233 GB, free: 168 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.8503, allocations: 79.28 kB / 1.233 GB, free: 88 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8503, allocations: 4 kB / 1.233 GB, free: 84 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001958/0.8505, allocations: 15.92 kB / 1.233 GB, free: 68 kB / 0.9356 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.0004719/0.851, allocations: 0.6129 MB / 1.233 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.583e-05/0.8511, allocations: 15.94 kB / 1.233 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8511, allocations: 0 / 1.233 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.8511, allocations: 7.984 kB / 1.233 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.8513, allocations: 4 kB / 1.233 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009875/0.8523, allocations: 1.099 MB / 1.235 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.8526, allocations: 0.6768 MB / 1.235 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.8527, allocations: 11.98 kB / 1.235 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.8527, allocations: 11.44 kB / 1.235 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.8527, allocations: 0 / 1.235 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.8745, allocations: 1.425 MB / 1.237 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.547, allocations: 13.59 kB / 1.237 GB, free: 12.15 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.394991083070636]