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.001069/0.001069, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001106/0.001106, allocations: 198.4 kB / 16.14 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.302/2.302, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7504, allocations: 140.4 MB / 0.949 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002631/0.7531, allocations: 1.654 MB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007952/0.7539, allocations: 0.4992 MB / 0.9511 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.754, allocations: 1.5 kB / 0.9511 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.7541, allocations: 9.203 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.7541, allocations: 13.31 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.7543, allocations: 30.98 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.894e-05/0.7545, allocations: 77.19 kB / 0.9513 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.7546, allocations: 44.2 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.7547, allocations: 42.77 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.7548, allocations: 35.81 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.7548, allocations: 4.969 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.7549, allocations: 7.875 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.7549, allocations: 21.48 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.755, allocations: 44.28 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.7551, allocations: 88.17 kB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7551, allocations: 5.469 kB / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.82e-07/0.7551, allocations: 0 / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7551, allocations: 0 / 0.9515 GB, free: 7.148 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.0004828/0.7556, allocations: 399.9 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7557, allocations: 9.625 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.7557, allocations: 37.5 kB / 0.952 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.7558, allocations: 10.34 kB / 0.952 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.7559, allocations: 197.8 kB / 0.9522 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.7559, allocations: 3.531 kB / 0.9522 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.7559, allocations: 15.73 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.7562, allocations: 110.2 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7562, allocations: 0 / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.7562, allocations: 4 kB / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.7562, allocations: 1.375 kB / 0.9523 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.7565, allocations: 96.25 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.757, allocations: 382.7 kB / 0.9528 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.7571, allocations: 64.11 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.7573, allocations: 50.17 kB / 0.9529 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.7573, allocations: 1.531 kB / 0.9529 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.7573, allocations: 39.78 kB / 0.9529 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.7573, allocations: 0 / 0.9529 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004457/0.7578, allocations: 163.9 kB / 0.9531 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.7578, allocations: 60.75 kB / 0.9531 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.7579, allocations: 128.9 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.7579, allocations: 31.08 kB / 0.9533 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.758, allocations: 108.2 kB / 0.9534 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.758, allocations: 22.12 kB / 0.9534 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.7581, allocations: 22.17 kB / 0.9534 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.7581, allocations: 317.2 kB / 0.9537 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.7582, allocations: 51.36 kB / 0.9538 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.7584, allocations: 38.56 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.7586, allocations: 84.16 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7586, allocations: 0 / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002429/0.7588, allocations: 125.8 kB / 0.954 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7588, allocations: 8.844 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.7589, allocations: 1.406 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7589, allocations: 3.938 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.759, allocations: 20.98 kB / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.759, allocations: 0 / 0.954 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.7591, allocations: 9.578 kB / 0.9541 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.7591, allocations: 6.719 kB / 0.9541 GB, free: 4.918 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 7.29e-05/0.7592, allocations: 119.8 kB / 0.9542 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.7592, allocations: 15.16 kB / 0.9542 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.7596, allocations: 136.7 kB / 0.9543 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.7596, allocations: 5.281 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7596, allocations: 0 / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.7596, allocations: 3.938 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.7598, allocations: 202.5 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7598, allocations: 256 / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.7599, allocations: 24.48 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7599, allocations: 5.281 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.7599, allocations: 1 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7599, allocations: 3.938 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7599, allocations: 1.312 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.7602, allocations: 216.3 kB / 0.9548 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.7602, allocations: 87.45 kB / 0.9548 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.7603, allocations: 9.375 kB / 0.9549 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.7604, allocations: 12.2 kB / 0.9549 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.7604, allocations: 10.8 kB / 0.9549 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.7604, allocations: 2.969 kB / 0.9549 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.7605, allocations: 104.3 kB / 0.955 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7605, allocations: 0 / 0.955 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002333/0.7607, allocations: 24.8 kB / 0.955 GB, free: 4.059 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.0005251/0.7613, allocations: 0.7626 MB / 0.9557 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.7616, allocations: 100.9 kB / 0.9558 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7616, allocations: 0 / 0.9558 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.7617, allocations: 52.34 kB / 0.9559 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.762, allocations: 10.25 kB / 0.9559 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.7635, allocations: 1.618 MB / 0.9575 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.7637, allocations: 0.6997 MB / 0.9582 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.7639, allocations: 15.91 kB / 0.9582 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.7639, allocations: 35.11 kB / 0.9582 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7639, allocations: 4 kB / 0.9582 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.7765, allocations: 1.764 MB / 0.9599 GB, free: 244 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002914/0.7768, allocations: 205.3 kB / 0.9601 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.553, allocations: 0 / 0.9601 GB, free: 15.98 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