Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.001417/0.001417, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001616/0.001616, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.957 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.671/3.671, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.PowerLaw05,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05",fmuType="me",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.002038/0.002038, allocations: 72.44 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4054, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.003308/0.4088, allocations: 1.336 MB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008247/0.4096, allocations: 310.9 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.4096, allocations: 0 / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.4097, allocations: 0 / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.4099, allocations: 11.86 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.4102, allocations: 67.72 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.4103, allocations: 43.86 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.4103, allocations: 3.938 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.4105, allocations: 31.95 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.4106, allocations: 11.94 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.4106, allocations: 3.938 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.4108, allocations: 83.84 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.4108, allocations: 0 / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.4109, allocations: 11.94 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.4111, allocations: 76 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.4111, allocations: 4 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4111, allocations: 0 / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.4111, allocations: 0 / 1.355 GB, free: 6.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004859/0.4116, allocations: 282 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.4116, allocations: 12.02 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.4117, allocations: 34.75 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/0.4122, allocations: 44.86 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.4123, allocations: 118.5 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.4124, allocations: 4.312 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.4124, allocations: 8.125 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.4126, allocations: 57.64 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4126, allocations: 4 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.4126, allocations: 4 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4126, allocations: 0 / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.4128, allocations: 47.94 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.4131, allocations: 136.7 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.4135, allocations: 98.48 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.4136, allocations: 28.78 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.4136, allocations: 0 / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.4136, allocations: 30.56 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4136, allocations: 0 / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004234/0.414, allocations: 105.6 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4141, allocations: 59.41 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4142, allocations: 109.8 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.4142, allocations: 25.7 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.4143, allocations: 88.12 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.4143, allocations: 11.89 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.4143, allocations: 21.67 kB / 1.356 GB, free: 4.984 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4145, allocations: 310.8 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/0.4146, allocations: 23.97 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.4147, allocations: 19.98 kB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.4148, allocations: 49.09 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4148, allocations: 4 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002335/0.4151, allocations: 85.58 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4151, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4151, allocations: 7.922 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.4151, allocations: 4 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.4153, allocations: 15.92 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4153, allocations: 0 / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.4154, allocations: 16 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.4154, allocations: 3.984 kB / 1.357 GB, free: 4.434 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 (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 0.0001208/0.4155, allocations: 109.8 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.4155, allocations: 11.89 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.4156, allocations: 8 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4156, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4156, allocations: 0 / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4156, allocations: 4 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.4157, allocations: 137 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4157, allocations: 4 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4158, allocations: 11.98 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4158, allocations: 0 / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4158, allocations: 7.922 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4159, allocations: 4 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4159, allocations: 0 / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.4161, allocations: 109 kB / 1.357 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.4162, allocations: 11.94 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.4162, allocations: 0 / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.4163, allocations: 11.98 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.4164, allocations: 4 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4164, allocations: 3.984 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.4164, allocations: 83.28 kB / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4164, allocations: 0 / 1.357 GB, free: 3.848 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002054/0.4167, allocations: 12 kB / 1.357 GB, free: 3.836 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 (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.0006058/0.4173, allocations: 0.6436 MB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.4175, allocations: 55.94 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4175, allocations: 0 / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.4176, allocations: 19.98 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.4179, allocations: 10.17 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.4198, allocations: 1.279 MB / 1.359 GB, free: 1.719 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.4201, allocations: 0.6846 MB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.817e-05/0.4202, allocations: 12.03 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.4202, allocations: 11.38 kB / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.4202, allocations: 0 / 1.36 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.4525, allocations: 1.658 MB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.37, allocations: 8.641 kB / 1.361 GB, free: 15.46 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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: 19.155582302017137]