Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_10_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.00459/0.00459, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001244/0.001244, allocations: 203.1 kB / 16.68 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437.1 MB / 0.7106 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2357, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002236/0.238, allocations: 1.44 MB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2392, allocations: 0.8189 MB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.2392, allocations: 0 / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.2394, allocations: 143.7 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.2395, allocations: 67.78 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.2401, allocations: 175.6 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.784e-05/0.2402, allocations: 75.8 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.657e-05/0.2402, allocations: 0 / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.2403, allocations: 35.89 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.2404, allocations: 79.86 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2404, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.2407, allocations: 231.7 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.943e-05/0.2408, allocations: 63.81 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.2409, allocations: 55.48 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.2412, allocations: 279.2 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2413, allocations: 0 / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2413, allocations: 4 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2413, allocations: 0 / 1.17 GB, free: 3.812 MB / 0.92 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.0005866/0.2419, allocations: 0.5096 MB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2419, allocations: 8.031 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.2419, allocations: 30.75 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.242, allocations: 20.8 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.2422, allocations: 263.8 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2422, allocations: 8.125 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.2422, allocations: 4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.2424, allocations: 77.66 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2424, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.2424, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.2424, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.2426, allocations: 91.86 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.2431, allocations: 404.7 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.2433, allocations: 86.53 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.2434, allocations: 44.89 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.2434, allocations: 15.98 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2435, allocations: 34.55 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.515e-06/0.2435, allocations: 4 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003798/0.2439, allocations: 181.4 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2439, allocations: 55.39 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.2442, allocations: 359.1 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2443, allocations: 29.7 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.2444, allocations: 140.1 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.2444, allocations: 128 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.2444, allocations: 29.7 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2445, allocations: 342.8 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.2447, allocations: 95.94 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2448, allocations: 91.95 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.2451, allocations: 215.3 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2451, allocations: 4 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003429/0.2455, allocations: 253.3 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2455, allocations: 4 kB / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.2455, allocations: 0 / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.2455, allocations: 0 / 1.173 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.2456, allocations: 11.98 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.2456, allocations: 4 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.2457, allocations: 15.88 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2457, allocations: 11.94 kB / 1.173 GB, free: 200 kB / 0.92 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.000102/0.2458, allocations: 141.8 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.2458, allocations: 19.86 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.2461, allocations: 142.7 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2461, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2461, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2461, allocations: 4 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.2464, allocations: 245.6 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2464, allocations: 0 / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.2464, allocations: 11.98 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2464, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.2465, allocations: 3.828 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2465, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2465, allocations: 0 / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.2467, allocations: 243.2 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.2468, allocations: 105 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2468, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.2469, allocations: 4 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.247, allocations: 3.984 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.247, allocations: 4 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002207/0.2472, allocations: 249.8 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2472, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002872/0.2475, allocations: 75.89 kB / 1.174 GB, free: 14.87 MB / 0.9356 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.0006701/0.2482, allocations: 0.8137 MB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.2485, allocations: 167.9 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2485, allocations: 0 / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2486, allocations: 43.97 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.2489, allocations: 16.64 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.2515, allocations: 2.713 MB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.2518, allocations: 0.7374 MB / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.701e-05/0.2519, allocations: 24.47 kB / 1.178 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.2519, allocations: 59.42 kB / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2519, allocations: 0 / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.372/2.624, allocations: 4.288 MB / 1.183 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/14.29, allocations: 21.86 kB / 1.183 GB, free: 6 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches