Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001701/0.001701, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00222/0.00222, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.237/3.237, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_12_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.002163/0.002163, allocations: 72.77 kB / 1.153 GB, free: 25.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3968, allocations: 176.1 MB / 1.325 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002619/0.3994, allocations: 1.309 MB / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006248/0.4, allocations: 271.1 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.4001, allocations: 0 / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.4001, allocations: 0 / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.4002, allocations: 19.84 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.4005, allocations: 71.78 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.99e-05/0.4006, allocations: 35.8 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.097e-05/0.4007, allocations: 7.984 kB / 1.327 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.4008, allocations: 35.86 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.4008, allocations: 11.92 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.4009, allocations: 4 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.401, allocations: 75.91 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.401, allocations: 7.984 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.4011, allocations: 7.938 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.4012, allocations: 76 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4013, allocations: 0 / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4013, allocations: 0 / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.4013, allocations: 4 kB / 1.327 GB, free: 0.5234 MB / 1.014 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.0004097/0.4017, allocations: 283.1 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4017, allocations: 16.02 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.4018, allocations: 30.75 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.636e-05/0.4018, allocations: 0.9375 kB / 1.327 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.4019, allocations: 110.5 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4019, allocations: 384 / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4019, allocations: 8.125 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.402, allocations: 63.39 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4021, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4021, allocations: 7.938 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4021, allocations: 3.938 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.4021, allocations: 11.98 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.4023, allocations: 132.7 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.232e-05/0.4024, allocations: 34.67 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.4024, allocations: 8.797 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006382/0.403, allocations: 151.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.403, allocations: 30.56 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4031, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001486/0.4032, allocations: 53.62 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.4032, allocations: 51.41 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.4033, allocations: 109.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4033, allocations: 25.7 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.4034, allocations: 80.14 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.4034, allocations: 15.89 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.4034, allocations: 25.7 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4036, allocations: 310.8 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.4036, allocations: 8 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.4036, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.4036, allocations: 28.78 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4036, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.111e-05/0.4037, allocations: 45.92 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4037, allocations: 8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4037, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4037, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.245e-05/0.4038, allocations: 8.031 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4038, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.4038, allocations: 3.984 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.4038, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 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 7.536e-05/0.4039, allocations: 109 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.4039, allocations: 11.89 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.4041, allocations: 65.61 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4041, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4041, allocations: 4 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4041, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.4042, allocations: 136.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4042, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.4042, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4042, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.4042, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4042, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4042, allocations: 3.938 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.4043, allocations: 84.95 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.4044, allocations: 7.938 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.4044, allocations: 7.984 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.4044, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.4044, allocations: 4 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.4044, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.4045, allocations: 91.27 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4045, allocations: 0 / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002103/0.4047, allocations: 27.88 kB / 1.329 GB, free: 14.05 MB / 1.029 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.0004924/0.4052, allocations: 0.6395 MB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.666e-05/0.4053, allocations: 15.98 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4053, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.696e-05/0.4053, allocations: 8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.4055, allocations: 1.875 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.4059, allocations: 175.7 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.406, allocations: 67.34 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.406, allocations: 12.53 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.4061, allocations: 7.438 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4061, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.4338, allocations: 2.142 MB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 6.125 kB / 1.332 GB, free: 11.03 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.574058247730136]