Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001791/0.001791, allocations: 116.8 kB / 17.17 MB, free: 6 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.002365/0.002365, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.616/1.616, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.882/2.882, allocations: 476.7 MB / 0.7678 GB, free: 9.352 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.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.002205/0.002205, allocations: 67.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.177, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002988/1.18, allocations: 1.324 MB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006954/1.18, allocations: 301.1 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/1.18, allocations: 4 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/1.18, allocations: 4.688 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/1.18, allocations: 10.88 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/1.181, allocations: 74.41 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/1.181, allocations: 42.53 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/1.181, allocations: 2.906 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/1.181, allocations: 35.91 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/1.181, allocations: 11.23 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/1.181, allocations: 1.125 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/1.181, allocations: 82.3 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/1.181, allocations: 6.75 kB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/1.182, allocations: 12.78 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/1.182, allocations: 80.56 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.182, allocations: 0.9688 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.182, allocations: 0 / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.182, allocations: 0 / 1.281 GB, free: 10.45 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005478/1.182, allocations: 353 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.182, allocations: 9.438 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.071e-05/1.182, allocations: 1.406 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/1.182, allocations: 36.55 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/1.182, allocations: 6.922 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/1.183, allocations: 172 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/1.183, allocations: 4.375 kB / 1.281 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.183, allocations: 10.12 kB / 1.281 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.183, allocations: 34.86 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/1.183, allocations: 0 / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/1.183, allocations: 0 / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/1.183, allocations: 1.062 kB / 1.281 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.371e-05/1.183, allocations: 12.62 kB / 1.281 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/1.183, allocations: 164.1 kB / 1.282 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/1.183, allocations: 39.72 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/1.183, allocations: 8.891 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/1.185, allocations: 1.188 MB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/1.185, allocations: 32.48 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/1.185, allocations: 0.5312 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002051/1.185, allocations: 56.45 kB / 1.283 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/1.185, allocations: 51.94 kB / 1.283 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/1.185, allocations: 106.8 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/1.185, allocations: 26.36 kB / 1.283 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/1.185, allocations: 85.42 kB / 1.283 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/1.185, allocations: 13.73 kB / 1.283 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/1.185, allocations: 18.81 kB / 1.283 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002669/1.186, allocations: 312.9 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/1.186, allocations: 3.672 kB / 1.284 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/1.186, allocations: 7.797 kB / 1.284 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.892e-05/1.186, allocations: 14.22 kB / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.186, allocations: 0 / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.85e-05/1.186, allocations: 52.59 kB / 1.284 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.186, allocations: 5.438 kB / 1.284 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.186, allocations: 0.7031 kB / 1.284 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/1.186, allocations: 0.5625 kB / 1.284 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.681e-05/1.186, allocations: 9.844 kB / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.186, allocations: 0 / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/1.186, allocations: 5.578 kB / 1.284 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/1.186, allocations: 1.188 kB / 1.284 GB, free: 7.445 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 (3): * Single equations (assignments): 3 * 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.81e-05/1.186, allocations: 116 kB / 1.284 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/1.186, allocations: 10.92 kB / 1.284 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/1.186, allocations: 57.2 kB / 1.284 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.186, allocations: 1.859 kB / 1.284 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.186, allocations: 4.531 kB / 1.284 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.186, allocations: 0 / 1.284 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/1.186, allocations: 160.2 kB / 1.284 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.186, allocations: 1.203 kB / 1.284 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/1.186, allocations: 9.438 kB / 1.284 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.186, allocations: 8.5 kB / 1.284 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/1.186, allocations: 1.297 kB / 1.284 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/1.186, allocations: 0.5938 kB / 1.284 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.186, allocations: 0.5625 kB / 1.284 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/1.187, allocations: 71.16 kB / 1.284 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/1.187, allocations: 90.34 kB / 1.284 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/1.187, allocations: 1 kB / 1.284 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/1.187, allocations: 1.859 kB / 1.284 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/1.187, allocations: 6.25 kB / 1.284 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.187, allocations: 2.031 kB / 1.284 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.377e-05/1.187, allocations: 91.52 kB / 1.284 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.187, allocations: 0 / 1.284 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002531/1.187, allocations: 29.22 kB / 1.284 GB, free: 6.789 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 (3): * Single equations (assignments): 3 * 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.0006032/1.188, allocations: 0.6417 MB / 1.285 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001096/1.188, allocations: 16.59 kB / 1.285 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.188, allocations: 0 / 1.285 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/1.188, allocations: 10.23 kB / 1.285 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/1.188, allocations: 8.109 kB / 1.285 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/1.189, allocations: 166.9 kB / 1.285 GB, free: 6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/1.189, allocations: 0.6825 MB / 1.286 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.167e-05/1.189, allocations: 9.875 kB / 1.286 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/1.189, allocations: 14.39 kB / 1.286 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.189, allocations: 0 / 1.286 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/1.208, allocations: 1.671 MB / 1.287 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.948/10.16, allocations: 15.31 kB / 1.287 GB, free: 4.887 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.939487903029658]