Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.001243/0.001243, allocations: 107.2 kB / 16.27 MB, free: 6.414 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.001211/0.001211, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.455/1.455, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 72.72 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2576, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002896/0.2605, allocations: 1.587 MB / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009338/0.2615, allocations: 0.5036 MB / 0.9523 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.2615, allocations: 0 / 0.9523 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.2616, allocations: 11.86 kB / 0.9523 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.2617, allocations: 15.81 kB / 0.9523 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.262, allocations: 39.94 kB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.2621, allocations: 75.72 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.2623, allocations: 48.19 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2624, allocations: 43.78 kB / 0.9525 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.2625, allocations: 35.84 kB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2625, allocations: 8 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.2626, allocations: 8 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.2627, allocations: 27.91 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.2627, allocations: 39.73 kB / 0.9526 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.2629, allocations: 91.92 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2629, allocations: 0 / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2629, allocations: 0 / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2629, allocations: 4 kB / 0.9527 GB, free: 6.293 MB / 0.7325 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.0005689/0.2635, allocations: 399 kB / 0.9531 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2635, allocations: 12.03 kB / 0.9531 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.2636, allocations: 8.844 kB / 0.9531 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.2638, allocations: 206.2 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2638, allocations: 4.375 kB / 0.9533 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2639, allocations: 4.375 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.2641, allocations: 114 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.2641, allocations: 0 / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2642, allocations: 3.984 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2642, allocations: 0 / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.2644, allocations: 95.94 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.265, allocations: 380.5 kB / 0.9539 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.2652, allocations: 58.55 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.2653, allocations: 52.89 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2654, allocations: 11.92 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2654, allocations: 34.56 kB / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.2654, allocations: 3.938 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004538/0.2659, allocations: 161.5 kB / 0.9542 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2659, allocations: 51.41 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.266, allocations: 137.8 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.266, allocations: 29.7 kB / 0.9544 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.2661, allocations: 104 kB / 0.9545 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.2661, allocations: 19.78 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.2662, allocations: 21.72 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2663, allocations: 318.8 kB / 0.9549 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2664, allocations: 39.97 kB / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.2665, allocations: 43.91 kB / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2667, allocations: 93.17 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2668, allocations: 4 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002689/0.267, allocations: 121.5 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2671, allocations: 4 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2671, allocations: 3.984 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2671, allocations: 0 / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.2672, allocations: 23.92 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2673, allocations: 4 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.2673, allocations: 11.92 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.2674, allocations: 8 kB / 0.9552 GB, free: 3.535 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.2675, allocations: 117.8 kB / 0.9553 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.2675, allocations: 7.906 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.2679, allocations: 142.3 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.2679, allocations: 7.938 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2679, allocations: 0 / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2679, allocations: 0 / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.2681, allocations: 209.5 kB / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2681, allocations: 0 / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2683, allocations: 23.91 kB / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2683, allocations: 0 / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2683, allocations: 4 kB / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2683, allocations: 7.938 kB / 0.9557 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2683, allocations: 3.938 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.2686, allocations: 219.6 kB / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.2687, allocations: 89.02 kB / 0.956 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.2687, allocations: 0 / 0.956 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2688, allocations: 11.92 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.2689, allocations: 12 kB / 0.956 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.2689, allocations: 7.984 kB / 0.956 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.947e-05/0.269, allocations: 101.5 kB / 0.9561 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.269, allocations: 0 / 0.9561 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002497/0.2692, allocations: 19.94 kB / 0.9562 GB, free: 2.473 MB / 0.7325 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 (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.0001409/0.2694, allocations: 103.2 kB / 0.9563 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.2697, allocations: 107.9 kB / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2697, allocations: 0 / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.2698, allocations: 51.91 kB / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.27, allocations: 4 kB / 0.9564 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.2705, allocations: 244.8 kB / 0.9566 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.2708, allocations: 0.7063 MB / 0.9573 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.2708, allocations: 11.44 kB / 0.9573 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.2708, allocations: 0 / 0.9573 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of Templates: time 0.002701/0.2735, allocations: 1.123 MB / 0.9584 GB, free: 64 kB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches