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: "" <> 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.001317/0.001317, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.001569, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.319/2.319, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 60.14 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6671, allocations: 140.4 MB / 0.9497 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003209/0.6704, allocations: 1.588 MB / 0.9513 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.6712, allocations: 0.5031 MB / 0.9518 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.6712, allocations: 1.375 kB / 0.9518 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.6714, allocations: 15.8 kB / 0.9518 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.6714, allocations: 14.77 kB / 0.9518 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.6717, allocations: 43.42 kB / 0.9518 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.6718, allocations: 78.05 kB / 0.9519 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.672, allocations: 41.61 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.767e-05/0.6721, allocations: 38.94 kB / 0.952 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.6722, allocations: 47.3 kB / 0.952 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.6722, allocations: 6.312 kB / 0.952 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-05/0.6723, allocations: 13.84 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.6723, allocations: 21.86 kB / 0.9521 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.6724, allocations: 40.42 kB / 0.9521 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.6725, allocations: 86.77 kB / 0.9522 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6725, allocations: 0 / 0.9522 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6725, allocations: 0 / 0.9522 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6725, allocations: 4 kB / 0.9522 GB, free: 7.324 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.0004733/0.673, allocations: 401.3 kB / 0.9526 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6731, allocations: 8.5 kB / 0.9526 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.6731, allocations: 37.56 kB / 0.9526 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.6731, allocations: 10.62 kB / 0.9526 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.6733, allocations: 198.3 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.6733, allocations: 1.969 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.6733, allocations: 13.75 kB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.6736, allocations: 112.3 kB / 0.9529 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.6736, allocations: 0 / 0.9529 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.6736, allocations: 13.31 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.6736, allocations: 1.062 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.6739, allocations: 94.75 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.6744, allocations: 380.5 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.6745, allocations: 59.08 kB / 0.9535 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.6746, allocations: 45.77 kB / 0.9535 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.6747, allocations: 6.938 kB / 0.9535 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.6747, allocations: 43.94 kB / 0.9536 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.6747, allocations: 0 / 0.9536 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004409/0.6751, allocations: 163.3 kB / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.6752, allocations: 56.84 kB / 0.9538 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.6753, allocations: 135 kB / 0.9539 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.6753, allocations: 29.7 kB / 0.9539 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.6753, allocations: 104.5 kB / 0.954 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.6753, allocations: 26.23 kB / 0.954 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.6754, allocations: 22.8 kB / 0.9541 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.6754, allocations: 321 kB / 0.9544 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.6755, allocations: 37.59 kB / 0.9544 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.145e-05/0.6756, allocations: 43.25 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.6758, allocations: 89.09 kB / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6758, allocations: 0 / 0.9545 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002341/0.6761, allocations: 125.9 kB / 0.9547 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6761, allocations: 5.188 kB / 0.9547 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6761, allocations: 0 / 0.9547 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6761, allocations: 7.938 kB / 0.9547 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.6763, allocations: 18.14 kB / 0.9547 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6763, allocations: 0 / 0.9547 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.6763, allocations: 9.734 kB / 0.9547 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.6764, allocations: 1.406 kB / 0.9547 GB, free: 5.098 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.763e-05/0.6764, allocations: 123.5 kB / 0.9548 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.6765, allocations: 8.219 kB / 0.9548 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.6768, allocations: 144.8 kB / 0.955 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6768, allocations: 5.125 kB / 0.955 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6768, allocations: 64 / 0.955 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6768, allocations: 4 kB / 0.955 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.6769, allocations: 202.3 kB / 0.9552 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.677, allocations: 3.938 kB / 0.9552 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.6771, allocations: 20.92 kB / 0.9552 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6771, allocations: 1.375 kB / 0.9552 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.6771, allocations: 5 kB / 0.9552 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.6771, allocations: 7.875 kB / 0.9552 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6771, allocations: 1.094 kB / 0.9552 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.6774, allocations: 224.7 kB / 0.9554 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.6774, allocations: 83.11 kB / 0.9555 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.6774, allocations: 8.953 kB / 0.9555 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.6775, allocations: 13.12 kB / 0.9555 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.6776, allocations: 6.828 kB / 0.9555 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.6776, allocations: 2.562 kB / 0.9555 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.6776, allocations: 102.4 kB / 0.9556 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6777, allocations: 0 / 0.9556 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002264/0.6779, allocations: 25.8 kB / 0.9556 GB, free: 4.23 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.0004742/0.6784, allocations: 0.7625 MB / 0.9564 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002816/0.6787, allocations: 102.4 kB / 0.9565 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6787, allocations: 0 / 0.9565 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.6788, allocations: 61.5 kB / 0.9565 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.679, allocations: 9.234 kB / 0.9566 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.6804, allocations: 1.588 MB / 0.9581 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.6805, allocations: 0.7035 MB / 0.9588 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.828e-05/0.6806, allocations: 15.36 kB / 0.9588 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.6807, allocations: 26.8 kB / 0.9588 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6807, allocations: 1.75 kB / 0.9588 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.6973, allocations: 1.967 MB / 0.9608 GB, free: 264 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.714, allocations: 14.86 kB / 0.9608 GB, free: 256 kB / 0.7169 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