Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008292/0.0008292, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008039/0.0008039, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9146/0.9146, allocations: 177.1 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.9 MB / 0.6221 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 4 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.293e-05, allocations: 2.281 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001972/0.001995, allocations: 1.596 MB / 0.9825 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007207/0.002716, allocations: 0.5804 MB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.002776, allocations: 0 / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.778e-05/0.002873, allocations: 7.875 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.046e-05/0.002904, allocations: 23.73 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.003173, allocations: 59.8 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.003289, allocations: 95.64 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.003425, allocations: 27.91 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.003563, allocations: 59.88 kB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.003627, allocations: 27.91 kB / 0.9834 GB, free: 64 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.003646, allocations: 8 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.003709, allocations: 23.97 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.003745, allocations: 19.92 kB / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.003791, allocations: 23.98 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.003934, allocations: 103.5 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003937, allocations: 0 / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003938, allocations: 4 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.003942, allocations: 0 / 0.9836 GB, free: 15.88 MB / 0.948 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.0003889/0.004331, allocations: 337.7 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.004369, allocations: 8.031 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.004401, allocations: 38.75 kB / 0.9839 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.004578, allocations: 36.86 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.00476, allocations: 142.2 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.004772, allocations: 16.38 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.004784, allocations: 4.375 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.004968, allocations: 117 kB / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004975, allocations: 0 / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.004984, allocations: 0 / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004989, allocations: 4 kB / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.005127, allocations: 99.92 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.005611, allocations: 339.6 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.704e-05/0.005708, allocations: 54.55 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.619e-05/0.005774, allocations: 44.95 kB / 0.9847 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.00581, allocations: 7.984 kB / 0.9848 GB, free: 14.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.005828, allocations: 38.5 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.00583, allocations: 0 / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002977/0.006127, allocations: 173.5 kB / 0.985 GB, free: 14.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.006157, allocations: 51.41 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.00624, allocations: 144.8 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.006251, allocations: 29.7 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.006295, allocations: 104.1 kB / 0.9853 GB, free: 13.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.006317, allocations: 23.88 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.006349, allocations: 25.7 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.006421, allocations: 318.8 kB / 0.9856 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.00649, allocations: 39.97 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.006547, allocations: 39.97 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.006674, allocations: 88.8 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006676, allocations: 3.938 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00016/0.006836, allocations: 125.6 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.006849, allocations: 10.81 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006853, allocations: 0 / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.006867, allocations: 7.938 kB / 0.9859 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.006952, allocations: 15.98 kB / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.006956, allocations: 0 / 0.9859 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.006989, allocations: 8.422 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.007008, allocations: 4 kB / 0.9859 GB, free: 13.25 MB / 0.948 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 6.148e-05/0.007069, allocations: 117.8 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.007088, allocations: 15.91 kB / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.007306, allocations: 150.3 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.00731, allocations: 3.938 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.007314, allocations: 0 / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007316, allocations: 4 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.007457, allocations: 168.7 kB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.007458, allocations: 0 / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.007509, allocations: 15.98 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007511, allocations: 3.984 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.007518, allocations: 8 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007521, allocations: 3.938 kB / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007522, allocations: 0 / 0.9864 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.007709, allocations: 227.4 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.007717, allocations: 3.953 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.007731, allocations: 4 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.00778, allocations: 11.92 kB / 0.9867 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.007822, allocations: 8 kB / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.007829, allocations: 3.984 kB / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.335e-05/0.007872, allocations: 107.3 kB / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007872, allocations: 3.938 kB / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000167/0.008039, allocations: 23.89 kB / 0.9868 GB, free: 12.3 MB / 0.948 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.0004131/0.008452, allocations: 0.7709 MB / 0.9875 GB, free: 11.51 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.008628, allocations: 92.12 kB / 0.9876 GB, free: 11.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.00863, allocations: 4 kB / 0.9876 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.008695, allocations: 52.03 kB / 0.9877 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.008867, allocations: 8 kB / 0.9877 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.01006, allocations: 1.619 MB / 0.9893 GB, free: 9.656 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.98e-05/0.01012, allocations: 92.3 kB / 0.9894 GB, free: 9.547 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.829e-05/0.01017, allocations: 15.92 kB / 0.9894 GB, free: 9.531 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.01022, allocations: 32.48 kB / 0.9894 GB, free: 9.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/0.01022, allocations: 0 / 0.9894 GB, free: 9.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.02757, allocations: 2.745 MB / 0.9921 GB, free: 6.898 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.226/7.254, allocations: 7.609 kB / 0.9921 GB, free: 6.895 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.306847779080272]