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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions",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.0008703/0.0008704, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00525/0.00525, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.125/2.125, allocations: 390.9 MB / 0.6664 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.5569, allocations: 142.4 MB / 0.9552 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001434/0.5583, allocations: 1.304 MB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.559, allocations: 0.494 MB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.5591, allocations: 1.062 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.037e-05/0.5592, allocations: 12.98 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.5592, allocations: 13.11 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.5594, allocations: 27.56 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.159e-05/0.5595, allocations: 80.89 kB / 0.957 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.5596, allocations: 40.31 kB / 0.9571 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.5597, allocations: 35.73 kB / 0.9571 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.5598, allocations: 26.73 kB / 0.9571 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.5598, allocations: 6.375 kB / 0.9572 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.985e-05/0.5599, allocations: 12.52 kB / 0.9572 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.5599, allocations: 17.61 kB / 0.9572 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.56, allocations: 57.41 kB / 0.9572 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.5601, allocations: 85.19 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5601, allocations: 0 / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5601, allocations: 0 / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.5601, allocations: 0 / 0.9573 GB, free: 5.957 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.0004244/0.5606, allocations: 392.2 kB / 0.9577 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5606, allocations: 9.094 kB / 0.9577 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.5606, allocations: 41.77 kB / 0.9577 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.5607, allocations: 9.875 kB / 0.9577 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.5608, allocations: 196.2 kB / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.5608, allocations: 6.875 kB / 0.9579 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.5609, allocations: 16.17 kB / 0.958 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.5611, allocations: 108.7 kB / 0.9581 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.5611, allocations: 0 / 0.9581 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5612, allocations: 5.125 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5612, allocations: 1.438 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.5614, allocations: 114.4 kB / 0.9582 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.5619, allocations: 390.3 kB / 0.9585 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.5621, allocations: 64.89 kB / 0.9586 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.5622, allocations: 54.7 kB / 0.9587 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.5623, allocations: 6.547 kB / 0.9587 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.5623, allocations: 39.59 kB / 0.9587 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.5623, allocations: 5.375 kB / 0.9587 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004387/0.5627, allocations: 179.7 kB / 0.9589 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.5628, allocations: 57.12 kB / 0.9589 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.5628, allocations: 128.3 kB / 0.9591 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.5629, allocations: 29.7 kB / 0.9591 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.5629, allocations: 109.2 kB / 0.9592 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.5629, allocations: 26.02 kB / 0.9592 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.563, allocations: 11.03 kB / 0.9592 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.563, allocations: 317.6 kB / 0.9595 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.5631, allocations: 44.41 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.5632, allocations: 47.47 kB / 0.9596 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.5634, allocations: 103.9 kB / 0.9597 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5634, allocations: 1.375 kB / 0.9597 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002493/0.5637, allocations: 139.5 kB / 0.9599 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5637, allocations: 5.5 kB / 0.9599 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5637, allocations: 0 / 0.9599 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.5637, allocations: 5.312 kB / 0.9599 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.5639, allocations: 27.05 kB / 0.9599 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5639, allocations: 1.375 kB / 0.9599 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.564, allocations: 16.23 kB / 0.9599 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.564, allocations: 2.75 kB / 0.9599 GB, free: 3.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.564, allocations: 123.3 kB / 0.96 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.5641, allocations: 6.656 kB / 0.96 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.5644, allocations: 152.5 kB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5644, allocations: 3.938 kB / 0.9602 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5644, allocations: 1.875 kB / 0.9602 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5644, allocations: 0 / 0.9602 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.5646, allocations: 218.2 kB / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5646, allocations: 4 kB / 0.9604 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/0.5647, allocations: 20.77 kB / 0.9604 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5647, allocations: 0 / 0.9604 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.5647, allocations: 0 / 0.9604 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5647, allocations: 9.594 kB / 0.9604 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5647, allocations: 0 / 0.9604 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.565, allocations: 235.5 kB / 0.9606 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.565, allocations: 83.61 kB / 0.9607 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.5651, allocations: 4.688 kB / 0.9607 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.5652, allocations: 19.67 kB / 0.9608 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.5652, allocations: 6.766 kB / 0.9608 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.5652, allocations: 7.156 kB / 0.9608 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.5653, allocations: 99.23 kB / 0.9609 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5653, allocations: 0 / 0.9609 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002314/0.5655, allocations: 19.97 kB / 0.9609 GB, free: 2.863 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 (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.000465/0.566, allocations: 0.7783 MB / 0.9616 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.5663, allocations: 107.8 kB / 0.9617 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5663, allocations: 0 / 0.9617 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.5664, allocations: 62.16 kB / 0.9618 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.5666, allocations: 9.812 kB / 0.9618 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.568, allocations: 1.658 MB / 0.9634 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.5682, allocations: 0.704 MB / 0.9641 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.008e-05/0.5683, allocations: 19.75 kB / 0.9641 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.5683, allocations: 30.17 kB / 0.9642 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5683, allocations: 1.031 kB / 0.9642 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01065/0.579, allocations: 1.7 MB / 0.9658 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.5792, allocations: 200.8 kB / 0.966 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.189, allocations: 0 / 0.966 GB, free: 14.85 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > 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