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.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.001744/0.001744, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002106/0.002106, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.597/1.597, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.94/2.94, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_11_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.002065/0.002065, allocations: 59.91 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.15, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002656/1.152, allocations: 1.286 MB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003467/1.153, allocations: 118.7 kB / 1.28 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/1.153, allocations: 0 / 1.28 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/1.153, allocations: 5.094 kB / 1.28 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/1.153, allocations: 9.188 kB / 1.28 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/1.153, allocations: 35.06 kB / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.064e-05/1.153, allocations: 15.95 kB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/1.153, allocations: 5.922 kB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/1.153, allocations: 8.141 kB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/1.153, allocations: 4.016 kB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/1.153, allocations: 1 kB / 1.28 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/1.153, allocations: 55.25 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/1.153, allocations: 5.281 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/1.153, allocations: 3 kB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/1.154, allocations: 44.05 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/1.154, allocations: 1.125 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/1.154, allocations: 0 / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.154, allocations: 0 / 1.28 GB, free: 10.71 MB / 0.9981 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.0004662/1.154, allocations: 333 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.154, allocations: 10.67 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.396e-05/1.154, allocations: 5.281 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/1.154, allocations: 34.69 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/1.154, allocations: 2.688 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/1.154, allocations: 163 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/1.154, allocations: 9.625 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/1.154, allocations: 5.219 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.731e-05/1.154, allocations: 29.95 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.155, allocations: 0 / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/1.155, allocations: 5.891 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/1.155, allocations: 0 / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.348e-05/1.155, allocations: 4.297 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/1.155, allocations: 156.1 kB / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/1.155, allocations: 27.58 kB / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/1.155, allocations: 11.67 kB / 1.281 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008243/1.156, allocations: 0.6061 MB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/1.156, allocations: 32.42 kB / 1.282 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/1.156, allocations: 0 / 1.282 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001585/1.156, allocations: 45.27 kB / 1.282 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.156, allocations: 53.2 kB / 1.282 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/1.156, allocations: 98.61 kB / 1.282 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/1.156, allocations: 27.59 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/1.156, allocations: 80.27 kB / 1.282 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/1.156, allocations: 13.91 kB / 1.282 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/1.156, allocations: 13.58 kB / 1.282 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.156, allocations: 320.7 kB / 1.282 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/1.156, allocations: 1.906 kB / 1.282 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/1.156, allocations: 2.219 kB / 1.282 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/1.156, allocations: 11.25 kB / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.156, allocations: 0 / 1.283 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.515e-05/1.156, allocations: 56.75 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.156, allocations: 5.031 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/1.156, allocations: 0.7969 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.156, allocations: 0.75 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/1.156, allocations: 3.562 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/1.156, allocations: 1.125 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/1.157, allocations: 4 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/1.157, allocations: 1.062 kB / 1.283 GB, free: 8.395 MB / 0.9981 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.129e-05/1.157, allocations: 113.8 kB / 1.283 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/1.157, allocations: 9.906 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/1.157, allocations: 44.34 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.157, allocations: 1 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/1.157, allocations: 0.5625 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/1.157, allocations: 4.906 kB / 1.283 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/1.157, allocations: 152.2 kB / 1.283 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.157, allocations: 0 / 1.283 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/1.157, allocations: 7.719 kB / 1.283 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/1.157, allocations: 5 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/1.157, allocations: 0.7812 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.157, allocations: 5.312 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.157, allocations: 0 / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.585e-05/1.157, allocations: 65 kB / 1.283 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/1.157, allocations: 78.7 kB / 1.283 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/1.157, allocations: 1.578 kB / 1.283 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.967e-05/1.157, allocations: 5.188 kB / 1.283 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/1.157, allocations: 0.7031 kB / 1.283 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/1.157, allocations: 5.125 kB / 1.283 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.405e-05/1.157, allocations: 80.17 kB / 1.283 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.157, allocations: 0 / 1.283 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001983/1.157, allocations: 17.06 kB / 1.283 GB, free: 7.77 MB / 0.9981 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.0004988/1.158, allocations: 0.6291 MB / 1.284 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.092e-05/1.158, allocations: 7.5 kB / 1.284 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.158, allocations: 1.094 kB / 1.284 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/1.158, allocations: 7.844 kB / 1.284 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/1.158, allocations: 5.031 kB / 1.284 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/1.159, allocations: 1.087 MB / 1.285 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/1.16, allocations: 0.6779 MB / 1.286 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.914e-05/1.16, allocations: 6.578 kB / 1.286 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/1.16, allocations: 13.78 kB / 1.286 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.16, allocations: 0 / 1.286 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/1.178, allocations: 1.499 MB / 1.287 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.862/10.04, allocations: 8.547 kB / 1.287 GB, free: 4.922 MB / 0.9981 GB " [Timeout remaining time 290] (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/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: 16.762838003982324]