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.001838/0.001838, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002614/0.002614, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.793 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.825/2.825, allocations: 476 MB / 0.7699 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.002839/0.002839, allocations: 69.33 kB / 1.117 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4117, allocations: 169.9 MB / 1.283 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00321/0.4149, allocations: 1.301 MB / 1.284 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006866/0.4156, allocations: 271.1 kB / 1.284 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.4156, allocations: 0 / 1.284 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.4157, allocations: 7.922 kB / 1.284 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.4158, allocations: 11.91 kB / 1.284 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.4162, allocations: 75.73 kB / 1.284 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.4163, allocations: 39.84 kB / 1.284 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/0.4163, allocations: 4 kB / 1.284 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.4165, allocations: 31.91 kB / 1.284 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.4165, allocations: 7.938 kB / 1.284 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.4166, allocations: 4 kB / 1.284 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.4168, allocations: 75.91 kB / 1.284 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.4168, allocations: 11.98 kB / 1.284 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.4168, allocations: 11.92 kB / 1.284 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.417, allocations: 76 kB / 1.284 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.417, allocations: 0 / 1.284 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.417, allocations: 0 / 1.284 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.4171, allocations: 3.938 kB / 1.284 GB, free: 2.277 MB / 0.9825 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.0004775/0.4175, allocations: 278.1 kB / 1.285 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4176, allocations: 8.031 kB / 1.285 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.4176, allocations: 34.75 kB / 1.285 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.4177, allocations: 8.891 kB / 1.285 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.4178, allocations: 114.4 kB / 1.285 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.4178, allocations: 384 / 1.285 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.4178, allocations: 8.109 kB / 1.285 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.418, allocations: 63.41 kB / 1.285 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.418, allocations: 0 / 1.285 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.418, allocations: 0 / 1.285 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.418, allocations: 0 / 1.285 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.529e-05/0.4181, allocations: 11.98 kB / 1.285 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.4183, allocations: 132.7 kB / 1.285 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.4184, allocations: 34.52 kB / 1.285 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.4184, allocations: 20.84 kB / 1.285 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/0.4191, allocations: 139.9 kB / 1.285 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.4191, allocations: 34.55 kB / 1.285 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4191, allocations: 0 / 1.285 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001769/0.4193, allocations: 49.7 kB / 1.285 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4193, allocations: 63.27 kB / 1.285 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4194, allocations: 109.8 kB / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4195, allocations: 25.7 kB / 1.286 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.4195, allocations: 80.14 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.4195, allocations: 15.89 kB / 1.286 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.4196, allocations: 13.72 kB / 1.286 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4197, allocations: 314.8 kB / 1.286 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.4198, allocations: 7.984 kB / 1.286 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.4198, allocations: 4 kB / 1.286 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.4198, allocations: 16.86 kB / 1.286 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4198, allocations: 4 kB / 1.286 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.168e-05/0.4199, allocations: 53.84 kB / 1.286 GB, free: 476 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.4199, allocations: 7.938 kB / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4199, allocations: 8 kB / 1.286 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4199, allocations: 0 / 1.286 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.42, allocations: 4.047 kB / 1.286 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.42, allocations: 0 / 1.286 GB, free: 456 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.42, allocations: 3.984 kB / 1.286 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.42, allocations: 4 kB / 1.286 GB, free: 448 kB / 0.9825 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 9.866e-05/0.4201, allocations: 109.8 kB / 1.286 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.4201, allocations: 15.89 kB / 1.286 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.4203, allocations: 53.69 kB / 1.286 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4203, allocations: 0 / 1.286 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4203, allocations: 4 kB / 1.286 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4203, allocations: 0 / 1.286 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.4204, allocations: 136.6 kB / 1.286 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.4204, allocations: 0 / 1.286 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.4205, allocations: 8 kB / 1.286 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4205, allocations: 4 kB / 1.286 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4205, allocations: 0 / 1.286 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4205, allocations: 0 / 1.286 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4205, allocations: 3.984 kB / 1.286 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.4206, allocations: 73.08 kB / 1.286 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.4206, allocations: 11.94 kB / 1.286 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4207, allocations: 0 / 1.286 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.4207, allocations: 0 / 1.286 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.4207, allocations: 7.984 kB / 1.286 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4207, allocations: 0 / 1.286 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.629e-05/0.4208, allocations: 91.58 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4208, allocations: 4 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002194/0.421, allocations: 31.86 kB / 1.287 GB, free: 15.81 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.0005723/0.4216, allocations: 0.6395 MB / 1.287 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.4217, allocations: 12 kB / 1.287 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4217, allocations: 0 / 1.287 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.4217, allocations: 15.92 kB / 1.287 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.422, allocations: 8.328 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.4224, allocations: 167.8 kB / 1.287 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.133e-05/0.4225, allocations: 67.34 kB / 1.287 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.578e-05/0.4226, allocations: 7.953 kB / 1.287 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.4226, allocations: 7.438 kB / 1.287 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.4226, allocations: 0 / 1.287 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.4538, allocations: 2.147 MB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.38, allocations: 0.75 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB " [Timeout remaining time 288] (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: 19.340837077237666]