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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 193.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.441/2.441, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 65.3 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2271, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002043/0.2292, allocations: 1.296 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004634/0.2297, allocations: 298.9 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.2297, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.2297, allocations: 3.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.2298, allocations: 7.922 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.23, allocations: 87.7 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.2301, allocations: 31.86 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.915e-05/0.2301, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.167e-05/0.2302, allocations: 31.91 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.2303, allocations: 15.92 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2303, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.2304, allocations: 83.91 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.2304, allocations: 3.938 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.2305, allocations: 7.938 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.2306, allocations: 80.06 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2306, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2306, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2306, allocations: 0 / 1.066 GB, free: 12.22 MB / 0.8262 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.0003302/0.231, allocations: 351.4 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.231, allocations: 12.02 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.231, allocations: 30.75 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.2311, allocations: 8.844 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2312, allocations: 164.4 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.2312, allocations: 384 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.2312, allocations: 4.312 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.743e-05/0.2313, allocations: 41.62 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.2313, allocations: 4 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.2313, allocations: 4 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.2313, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.2313, allocations: 7.984 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.2315, allocations: 161.7 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.2316, allocations: 38.45 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.2316, allocations: 8.922 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.2326, allocations: 1.191 MB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.2327, allocations: 34.56 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.2327, allocations: 0 / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001198/0.2328, allocations: 49.59 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.2328, allocations: 63.34 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.2329, allocations: 109.8 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2329, allocations: 29.69 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.233, allocations: 80.14 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.233, allocations: 15.78 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.233, allocations: 17.72 kB / 1.068 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2331, allocations: 310.8 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.2331, allocations: 8 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.135e-05/0.2332, allocations: 9.828 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.2332, allocations: 16.86 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2332, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.807e-05/0.2333, allocations: 53.53 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2333, allocations: 8 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-06/0.2333, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.2333, allocations: 336 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.94e-05/0.2334, allocations: 7.938 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.2334, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.2334, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.2334, allocations: 8 kB / 1.069 GB, free: 8.918 MB / 0.8262 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 6.41e-05/0.2335, allocations: 109.8 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.2335, allocations: 11.92 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.2336, allocations: 53.58 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2336, allocations: 0 / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2336, allocations: 4 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2336, allocations: 4 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.2337, allocations: 157.7 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2337, allocations: 3.938 kB / 1.069 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.2338, allocations: 7.984 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2338, allocations: 11.88 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.2338, allocations: 0 / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2338, allocations: 0 / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2338, allocations: 0 / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.372e-05/0.2339, allocations: 77.03 kB / 1.069 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.2339, allocations: 81.05 kB / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.2339, allocations: 0 / 1.069 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.234, allocations: 11.98 kB / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.234, allocations: 0 / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.234, allocations: 0 / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.234, allocations: 87.58 kB / 1.069 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2341, allocations: 0 / 1.069 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001837/0.2342, allocations: 39.92 kB / 1.069 GB, free: 8.164 MB / 0.8262 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.0003798/0.2346, allocations: 0.6434 MB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.911e-05/0.2347, allocations: 19.98 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2347, allocations: 0 / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.2347, allocations: 7.938 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.2349, allocations: 9.719 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.2352, allocations: 169 kB / 1.07 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.2354, allocations: 0.6768 MB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.35e-05/0.2355, allocations: 8 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.2355, allocations: 11.44 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2355, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.751/1.986, allocations: 1.596 MB / 1.072 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/15.74, allocations: 22.36 kB / 1.072 GB, free: 5.008 MB / 0.8262 GB (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 --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) 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) Reference file matches