Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Interpolate,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",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.001565/0.001565, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002645/0.002645, allocations: 188.5 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.677/2.677, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.486/4.486, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351/1.354, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.003677/1.357, allocations: 1.49 MB / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001766/1.359, allocations: 0.8271 MB / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/1.359, allocations: 0 / 0.9515 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000321/1.36, allocations: 131.7 kB / 0.9516 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/1.36, allocations: 72.12 kB / 0.9517 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/1.361, allocations: 156.5 kB / 0.9518 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/1.361, allocations: 64.42 kB / 0.9519 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.516e-05/1.361, allocations: 2.719 kB / 0.9519 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/1.361, allocations: 47.75 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/1.362, allocations: 78.55 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/1.362, allocations: 2.656 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/1.362, allocations: 225.7 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001503/1.362, allocations: 69.28 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/1.362, allocations: 59.22 kB / 0.9524 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005653/1.363, allocations: 270.4 kB / 0.9526 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/1.363, allocations: 1.25 kB / 0.9526 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/1.363, allocations: 0 / 0.9526 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.363, allocations: 0 / 0.9526 GB, free: 6.703 MB / 0.7169 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.0008773/1.364, allocations: 0.5025 MB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.264e-05/1.364, allocations: 8.875 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/1.364, allocations: 34.73 kB / 0.9532 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/1.364, allocations: 22.28 kB / 0.9532 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/1.365, allocations: 256.6 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.365, allocations: 1.656 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/1.365, allocations: 8.969 kB / 0.9534 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/1.365, allocations: 83.53 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.365, allocations: 1.312 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.365, allocations: 0 / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.365, allocations: 0 / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/1.365, allocations: 87.39 kB / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/1.366, allocations: 398.4 kB / 0.954 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/1.366, allocations: 96.69 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/1.366, allocations: 51.94 kB / 0.9541 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.797e-05/1.366, allocations: 17.77 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/1.367, allocations: 31.94 kB / 0.9542 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.814e-06/1.367, allocations: 0 / 0.9542 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0006123/1.367, allocations: 173.6 kB / 0.9543 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/1.367, allocations: 54.72 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005057/1.368, allocations: 358.4 kB / 0.9547 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/1.368, allocations: 26.8 kB / 0.9548 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.368, allocations: 135.2 kB / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/1.368, allocations: 9.016 kB / 0.9549 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/1.368, allocations: 32.22 kB / 0.9549 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/1.368, allocations: 339.1 kB / 0.9552 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/1.368, allocations: 95.62 kB / 0.9553 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/1.368, allocations: 91.36 kB / 0.9554 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/1.369, allocations: 208.6 kB / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.369, allocations: 0 / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005639/1.37, allocations: 255 kB / 0.9559 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.37, allocations: 9.016 kB / 0.9559 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.37, allocations: 0 / 0.9559 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.37, allocations: 0 / 0.9559 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.37, allocations: 10.06 kB / 0.9559 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.37, allocations: 1.375 kB / 0.9559 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/1.37, allocations: 17.33 kB / 0.9559 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/1.37, allocations: 5.375 kB / 0.9559 GB, free: 4.266 MB / 0.7169 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): 2 * Array equations: 1 * 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.0001443/1.37, allocations: 149.1 kB / 0.9561 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/1.37, allocations: 19.97 kB / 0.9561 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/1.371, allocations: 135.6 kB / 0.9562 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.371, allocations: 5.359 kB / 0.9562 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.371, allocations: 4.031 kB / 0.9562 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.371, allocations: 3.984 kB / 0.9562 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/1.371, allocations: 240.5 kB / 0.9564 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/1.371, allocations: 8.016 kB / 0.9565 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/1.371, allocations: 5.5 kB / 0.9565 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.371, allocations: 1.25 kB / 0.9565 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.371, allocations: 0 / 0.9565 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/1.371, allocations: 5.281 kB / 0.9565 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.371, allocations: 0 / 0.9565 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/1.372, allocations: 238.4 kB / 0.9567 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/1.372, allocations: 104.4 kB / 0.9568 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/1.372, allocations: 1.375 kB / 0.9568 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/1.372, allocations: 6.422 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/1.372, allocations: 2.125 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/1.372, allocations: 1.281 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003791/1.372, allocations: 252 kB / 0.957 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.372, allocations: 0 / 0.957 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007745/1.373, allocations: 76.28 kB / 0.9571 GB, free: 3.352 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.001151/1.374, allocations: 0.8172 MB / 0.9579 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006019/1.375, allocations: 159.4 kB / 0.9581 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.375, allocations: 3.938 kB / 0.9581 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/1.375, allocations: 50.11 kB / 0.9581 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/1.376, allocations: 16.25 kB / 0.9581 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005829/1.382, allocations: 2.73 MB / 0.9608 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/1.382, allocations: 0.7454 MB / 0.9615 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001041/1.382, allocations: 23.72 kB / 0.9615 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/1.382, allocations: 53.94 kB / 0.9616 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.054e-06/1.382, allocations: 0 / 0.9616 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/1.445, allocations: 4.105 MB / 0.9656 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004802/1.445, allocations: 216.3 kB / 0.9658 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/5.015, allocations: 0 / 0.9658 GB, free: 13.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches