Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_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.001208/0.001208, allocations: 108 kB / 15.6 MB, free: 132 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.001408/0.001408, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.399/2.399, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 69.7 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2298, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002126/0.232, allocations: 1.296 MB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004508/0.2325, allocations: 294.9 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.2325, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.2325, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.2326, allocations: 19.86 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.2329, allocations: 79.7 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.2329, allocations: 39.84 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.233, allocations: 4 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.233, allocations: 27.92 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.2331, allocations: 7.938 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2331, allocations: 0 / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.2333, allocations: 83.91 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.2333, allocations: 11.92 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.2333, allocations: 11.92 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.2334, allocations: 76.06 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2334, allocations: 4 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2335, allocations: 0 / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2335, allocations: 4 kB / 1.055 GB, free: 6.289 MB / 0.8106 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.0003177/0.2338, allocations: 347.4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.2338, allocations: 8.625 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.2339, allocations: 34.69 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.2339, allocations: 4.938 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.673e-05/0.234, allocations: 168.3 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.234, allocations: 384 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.234, allocations: 4.375 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.2341, allocations: 45.62 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.2341, allocations: 3.938 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2341, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2341, allocations: 4 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.2342, allocations: 4 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.2343, allocations: 161.7 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.124e-05/0.2344, allocations: 34.67 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/0.2344, allocations: 12.86 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009753/0.2354, allocations: 1.187 MB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2354, allocations: 34.5 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2354, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001312/0.2356, allocations: 57.78 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.2356, allocations: 51.41 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.2357, allocations: 113.8 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2357, allocations: 25.7 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.2357, allocations: 80.14 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.2357, allocations: 7.844 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.2358, allocations: 21.7 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.2359, allocations: 310.8 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.2359, allocations: 8 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.2359, allocations: 7.984 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.2359, allocations: 28.78 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2359, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.056e-05/0.236, allocations: 45.64 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.236, allocations: 4 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.236, allocations: 0 / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2361, allocations: 3.984 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.2361, allocations: 8 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2361, allocations: 4 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.2361, allocations: 3.906 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.2362, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 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 5.612e-05/0.2362, allocations: 113.8 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.2362, allocations: 3.938 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2363, allocations: 61.52 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2364, allocations: 4 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2364, allocations: 0 / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.2364, allocations: 0 / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.253e-05/0.2365, allocations: 165.6 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2365, allocations: 3.938 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.2365, allocations: 4 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2365, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2365, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2365, allocations: 7.938 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2365, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.713e-05/0.2366, allocations: 76.97 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.2367, allocations: 89.03 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.2367, allocations: 0 / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.2367, allocations: 4 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.2367, allocations: 4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2367, allocations: 3.984 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.2368, allocations: 87.58 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2368, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002047/0.237, allocations: 35.94 kB / 1.058 GB, free: 2.238 MB / 0.8106 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.0003469/0.2374, allocations: 0.6358 MB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.608e-05/0.2374, allocations: 12.28 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2374, allocations: 0 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.711e-05/0.2375, allocations: 11.98 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.2376, allocations: 12.19 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.238, allocations: 163.6 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.2382, allocations: 0.6846 MB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.2382, allocations: 12.22 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.2382, allocations: 11.44 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2382, allocations: 0 / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.175/1.414, allocations: 1.615 MB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/10.08, allocations: 1.75 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches