Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001255/0.001255, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.866/2.866, allocations: 437.7 MB / 0.7117 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 12 kB / 0.8722 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9077/0.9081, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00231/0.9104, allocations: 1.2 MB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004671/0.9109, allocations: 112.6 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.911, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.911, allocations: 3.938 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.9111, allocations: 3.938 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.9114, allocations: 27.91 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.9115, allocations: 39.84 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.9116, allocations: 8 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.9117, allocations: 15.98 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.9118, allocations: 19.92 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.9118, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.9119, allocations: 39.89 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.912, allocations: 15.97 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.9121, allocations: 33.64 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.9122, allocations: 43.92 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9122, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.076e-06/0.9122, allocations: 4 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.9122, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007844/0.913, allocations: 381.1 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.9131, allocations: 12.55 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.9132, allocations: 7.906 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.9133, allocations: 167 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.9133, allocations: 7.984 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.9134, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.9138, allocations: 125.5 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9138, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.9138, allocations: 8 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.9139, allocations: 15.98 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.9144, allocations: 137.9 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.915, allocations: 344.5 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.9153, allocations: 82.45 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.9155, allocations: 44.92 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/0.9159, allocations: 121.1 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.9159, allocations: 30.56 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.9159, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0007522/0.9167, allocations: 173.5 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.9167, allocations: 59.3 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.9169, allocations: 139.6 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.917, allocations: 29.64 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.9171, allocations: 123.7 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.9171, allocations: 11.83 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.9171, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9173, allocations: 318.8 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.9175, allocations: 59.94 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.9178, allocations: 129.3 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.9181, allocations: 75.89 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9181, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006163/0.9187, allocations: 201.3 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.9188, allocations: 5.25 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.9188, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9188, allocations: 4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.9191, allocations: 44.22 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.9191, allocations: 4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.9193, allocations: 35.78 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.9193, allocations: 8 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.9195, allocations: 133.8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.9195, allocations: 3.906 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.9201, allocations: 133.9 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.9201, allocations: 4 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.9201, allocations: 3.938 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9201, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.9204, allocations: 181.6 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.9204, allocations: 8 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.9205, allocations: 23.97 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9206, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.9206, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.9206, allocations: 3.938 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.9206, allocations: 4 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.9211, allocations: 223.3 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.9212, allocations: 89 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.9212, allocations: 0 / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.9214, allocations: 19.92 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.9215, allocations: 8.312 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.9215, allocations: 4 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001104/0.9216, allocations: 105.1 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9216, allocations: 7.938 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004084/0.922, allocations: 16 kB / 1.028 GB, free: 10.32 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002029/0.9222, allocations: 107.2 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005597/0.9228, allocations: 128 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9228, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.923, allocations: 52.41 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.9235, allocations: 11.95 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.924, allocations: 177.1 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.9244, allocations: 0.6887 MB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.9246, allocations: 24.41 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.9247, allocations: 11.44 kB / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.9247, allocations: 0 / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of Templates: time 0.005016/0.9297, allocations: 0.8 MB / 1.03 GB, free: 8.266 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches