Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_10_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.009345/0.009345, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.002415/0.002415, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8623, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002707/0.865, allocations: 1.599 MB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.8659, allocations: 0.5036 MB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.8659, allocations: 0 / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.8661, allocations: 11.86 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.8661, allocations: 11.88 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.8664, allocations: 43.88 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.8665, allocations: 83.7 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.8666, allocations: 40.2 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.8667, allocations: 39.8 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.8668, allocations: 35.84 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.8669, allocations: 12 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.8669, allocations: 15.98 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.867, allocations: 23.91 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.867, allocations: 43.73 kB / 1.169 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.8672, allocations: 85.95 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8672, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8672, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.8672, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8887 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.0005266/0.8678, allocations: 399.1 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8678, allocations: 20.86 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.8679, allocations: 38.73 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.8679, allocations: 16.75 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.8681, allocations: 192.1 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.8681, allocations: 4.375 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.8681, allocations: 8.375 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.8683, allocations: 103.9 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.8684, allocations: 0 / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.8684, allocations: 4 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8684, allocations: 4 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.8686, allocations: 107.8 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.8692, allocations: 376.5 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.8693, allocations: 66.48 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.8695, allocations: 48.95 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.8695, allocations: 3.984 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.8695, allocations: 34.56 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.8695, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004475/0.87, allocations: 165.5 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.87, allocations: 59.34 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.8702, allocations: 136.4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.8702, allocations: 25.7 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.8702, allocations: 108.1 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.8703, allocations: 23.73 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.8703, allocations: 13.72 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8704, allocations: 326.8 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.8705, allocations: 35.97 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.8706, allocations: 39.97 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.8709, allocations: 88.8 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8709, allocations: 0 / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002586/0.8712, allocations: 125.5 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.8712, allocations: 4 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8712, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8712, allocations: 15.81 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.8714, allocations: 23.97 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.8714, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.8715, allocations: 7.906 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.8715, allocations: 7.984 kB / 1.171 GB, free: 14.44 MB / 0.9044 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 8.457e-05/0.8716, allocations: 117.8 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.8716, allocations: 7.906 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.8719, allocations: 150.2 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.872, allocations: 3.938 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.872, allocations: 0.5 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.872, allocations: 3.938 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.8722, allocations: 201.6 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8722, allocations: 4 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.8723, allocations: 23.98 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.8723, allocations: 3.984 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.8723, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.8723, allocations: 3.938 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8723, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.8727, allocations: 227.4 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.8727, allocations: 81.02 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.853e-05/0.8727, allocations: 4 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.8728, allocations: 15.86 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.8729, allocations: 4 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.8729, allocations: 7.984 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.116e-05/0.873, allocations: 105.9 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.873, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002302/0.8732, allocations: 15.94 kB / 1.172 GB, free: 13.38 MB / 0.9044 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.0006002/0.8738, allocations: 0.7592 MB / 1.173 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.8741, allocations: 103.9 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8741, allocations: 4 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.8742, allocations: 47.97 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.8745, allocations: 11.94 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.8763, allocations: 1.601 MB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.8766, allocations: 0.7041 MB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.8768, allocations: 15.98 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.8769, allocations: 27.42 kB / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8769, allocations: 0 / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.8955, allocations: 2.004 MB / 1.177 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/8.444, allocations: 12 kB / 1.177 GB, free: 8.047 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches