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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001179/0.001179, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001418/0.001419, allocations: 177.3 kB / 15.94 MB, free: 220 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.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 12 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8155, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002005/0.8175, allocations: 1.277 MB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000644/0.8182, allocations: 485.2 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.8183, allocations: 0.875 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.356e-05/0.8184, allocations: 13.05 kB / 0.9552 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.032e-05/0.8184, allocations: 10.39 kB / 0.9552 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.8186, allocations: 31.05 kB / 0.9553 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.8187, allocations: 53.05 kB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.8188, allocations: 31.78 kB / 0.9554 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.8189, allocations: 26.45 kB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.819, allocations: 34.64 kB / 0.9554 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.819, allocations: 6.469 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.634e-05/0.819, allocations: 4.594 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.8191, allocations: 13.08 kB / 0.9554 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.8191, allocations: 37.67 kB / 0.9555 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.591e-05/0.8192, allocations: 59.42 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.8192, allocations: 0 / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8192, allocations: 4.938 kB / 0.9555 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.8192, allocations: 0 / 0.9555 GB, free: 6.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005064/0.8197, allocations: 388.1 kB / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.8198, allocations: 9.625 kB / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.8199, allocations: 17.25 kB / 0.9559 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.82, allocations: 189.7 kB / 0.9561 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.8201, allocations: 6.844 kB / 0.9561 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.8201, allocations: 8.656 kB / 0.9561 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.8204, allocations: 117 kB / 0.9562 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8204, allocations: 3.984 kB / 0.9562 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.8204, allocations: 1.219 kB / 0.9562 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8204, allocations: 5.531 kB / 0.9562 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.8207, allocations: 124.6 kB / 0.9564 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.8214, allocations: 374.3 kB / 0.9567 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.8215, allocations: 72.66 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.8216, allocations: 3.562 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.8216, allocations: 35.72 kB / 0.9568 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.8216, allocations: 0 / 0.9568 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004756/0.8221, allocations: 184.2 kB / 0.957 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.8221, allocations: 52.38 kB / 0.9571 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.8222, allocations: 140.2 kB / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.8223, allocations: 25.7 kB / 0.9572 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.8223, allocations: 108.4 kB / 0.9573 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.8223, allocations: 11.31 kB / 0.9573 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.8223, allocations: 4 kB / 0.9573 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.558e-05/0.8224, allocations: 325.1 kB / 0.9576 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.8225, allocations: 43.66 kB / 0.9577 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.8226, allocations: 43.56 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.8228, allocations: 50.06 kB / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8228, allocations: 0 / 0.9578 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002718/0.8231, allocations: 140.1 kB / 0.9579 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8231, allocations: 9.219 kB / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8231, allocations: 5.109 kB / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.8231, allocations: 0 / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.8232, allocations: 24.08 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8233, allocations: 0 / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.8233, allocations: 16.92 kB / 0.958 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.8234, allocations: 2.281 kB / 0.958 GB, free: 4.41 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 (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 7.375e-05/0.8235, allocations: 123.8 kB / 0.9581 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.8235, allocations: 10.61 kB / 0.9581 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003589/0.8239, allocations: 159 kB / 0.9582 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8239, allocations: 1.594 kB / 0.9582 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.8239, allocations: 0 / 0.9582 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8239, allocations: 1.312 kB / 0.9582 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.8241, allocations: 206.5 kB / 0.9584 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8241, allocations: 0 / 0.9584 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.8242, allocations: 27.19 kB / 0.9585 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8242, allocations: 3.938 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.8242, allocations: 5.953 kB / 0.9585 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8242, allocations: 0 / 0.9585 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8243, allocations: 7.938 kB / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.8246, allocations: 232.5 kB / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.8246, allocations: 86.45 kB / 0.9588 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.8246, allocations: 1.531 kB / 0.9588 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.8247, allocations: 15.69 kB / 0.9588 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.8248, allocations: 6.344 kB / 0.9588 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.8248, allocations: 6.516 kB / 0.9588 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.8249, allocations: 102.3 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.212e-06/0.8249, allocations: 0 / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002345/0.8251, allocations: 25.84 kB / 0.9589 GB, free: 3.535 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 (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.0001455/0.8253, allocations: 101.2 kB / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.8255, allocations: 106.6 kB / 0.9591 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8256, allocations: 2.219 kB / 0.9591 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.8257, allocations: 64.03 kB / 0.9592 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.8259, allocations: 3.094 kB / 0.9592 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.8264, allocations: 241.8 kB / 0.9594 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.8266, allocations: 0.705 MB / 0.9601 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.8267, allocations: 20.2 kB / 0.9601 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.8267, allocations: 10.19 kB / 0.9601 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8267, allocations: 4 kB / 0.9602 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of Templates: time 0.003275/0.83, allocations: 0.5915 MB / 0.9607 GB, free: 2.145 MB / 0.7169 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","../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches