Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001383/0.001383, allocations: 168.7 kB / 15.95 MB, free: 204 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.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.406 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.844/2.844, allocations: 437.7 MB / 0.7117 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 19.94 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7846, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00185/0.7865, allocations: 1.297 MB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.7873, allocations: 492 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.7873, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.7874, allocations: 7.922 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.682e-05/0.7875, allocations: 15.88 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.7877, allocations: 23.97 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.7878, allocations: 75.7 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.788, allocations: 36.2 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.7881, allocations: 23.92 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.7882, allocations: 31.78 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.7882, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.7883, allocations: 7.984 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.7883, allocations: 15.92 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.7884, allocations: 37.64 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.7885, allocations: 57.86 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7885, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7885, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.7885, allocations: 4 kB / 1.024 GB, free: 13.93 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.0005196/0.7891, allocations: 395 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7891, allocations: 8.562 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.7892, allocations: 11.81 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.7894, allocations: 190.9 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.7894, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.7894, allocations: 12 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.7897, allocations: 113.6 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7897, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.7897, allocations: 7.938 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.7897, allocations: 4 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.79, allocations: 111.8 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.7906, allocations: 392.5 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.7907, allocations: 66.55 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.7909, allocations: 56.95 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.7909, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.7909, allocations: 42.5 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.7909, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004765/0.7914, allocations: 181.5 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.7915, allocations: 55.41 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.7916, allocations: 128.2 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.7916, allocations: 29.7 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.7917, allocations: 108.3 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.7917, allocations: 15.81 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.7917, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7919, allocations: 322.8 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.792, allocations: 43.97 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.7921, allocations: 51.91 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.7922, allocations: 48.34 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7922, allocations: 0 / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002776/0.7925, allocations: 137.5 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7925, allocations: 8 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7925, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.7926, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.7927, allocations: 27.97 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.7927, allocations: 3.984 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.7928, allocations: 19.84 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.7928, allocations: 7.984 kB / 1.027 GB, free: 11.16 MB / 0.7794 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 (6): * Single equations (assignments): 6 * 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 9.205e-05/0.7929, allocations: 121.7 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.793, allocations: 7.906 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.7933, allocations: 154.3 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7933, allocations: 4 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7933, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.7933, allocations: 7.969 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.7935, allocations: 205.6 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7936, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.7937, allocations: 23.98 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7937, allocations: 3.938 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.7937, allocations: 3.984 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7937, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.7937, allocations: 7.938 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.794, allocations: 243.3 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.7941, allocations: 81.02 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.7941, allocations: 192 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.7942, allocations: 12 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.7943, allocations: 11.98 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.7943, allocations: 7.984 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.7944, allocations: 105.1 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7944, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000244/0.7946, allocations: 19.84 kB / 1.028 GB, free: 10.06 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 (6): * Single equations (assignments): 6 * 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.0001567/0.7948, allocations: 103.2 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.7951, allocations: 115.9 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7951, allocations: 0 / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.7952, allocations: 55.95 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.7955, allocations: 13.78 kB / 1.028 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.7959, allocations: 245.1 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.7962, allocations: 0.7004 MB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.7964, allocations: 15.98 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.7964, allocations: 7.438 kB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7964, allocations: 0 / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of Templates: time 0.003116/0.7995, allocations: 0.6005 MB / 1.03 GB, free: 8.164 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches