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.001794/0.001794, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001497/0.001497, allocations: 210.8 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.584/1.584, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.372/3.372, allocations: 0.4892 GB / 0.7943 GB, free: 35.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 72.66 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4172, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00333/0.4206, allocations: 1.601 MB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.4217, allocations: 0.569 MB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.473e-05/0.4218, allocations: 7.938 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.422, allocations: 15.8 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.422, allocations: 7.875 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.4224, allocations: 67.86 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.4225, allocations: 83.7 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.4227, allocations: 32.19 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.4229, allocations: 47.84 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.423, allocations: 39.77 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.423, allocations: 4 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.4231, allocations: 23.98 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.4231, allocations: 23.92 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.4232, allocations: 31.8 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.4233, allocations: 95.56 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4233, allocations: 3.938 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 6.583e-06/0.4233, allocations: 8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4234, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 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.000626/0.424, allocations: 337.8 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.424, allocations: 11.97 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.4241, allocations: 38.75 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.4244, allocations: 40.8 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4246, allocations: 152.4 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.4246, allocations: 384 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.4247, allocations: 11.94 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.4249, allocations: 105.6 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4249, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.4249, allocations: 4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.425, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.4252, allocations: 95.92 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.4258, allocations: 343.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.426, allocations: 58.53 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4261, allocations: 44.95 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.4261, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.4261, allocations: 38.5 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.4261, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000478/0.4266, allocations: 169.5 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4267, allocations: 63.33 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4268, allocations: 135.7 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4268, allocations: 25.7 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.4269, allocations: 112.1 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.427, allocations: 15.86 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.427, allocations: 21.7 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4272, allocations: 322.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.4273, allocations: 44.22 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.4274, allocations: 43.91 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.4276, allocations: 84.81 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4276, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002825/0.4279, allocations: 133.5 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4279, allocations: 9.719 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4279, allocations: 0 / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4279, allocations: 0 / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.4281, allocations: 19.98 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4281, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.4282, allocations: 11.98 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.4282, allocations: 4 kB / 1.33 GB, free: 13.09 MB / 1.029 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 0.0001067/0.4283, allocations: 126.2 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.4283, allocations: 11.89 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.4287, allocations: 146.3 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4287, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4287, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4287, allocations: 3.938 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.4289, allocations: 172.7 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4289, allocations: 0 / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.429, allocations: 28.09 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.429, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.429, allocations: 4 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.429, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.429, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.4294, allocations: 219.4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.4294, allocations: 11.89 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.4294, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.4295, allocations: 7.984 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.4295, allocations: 15.92 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4296, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.351e-05/0.4296, allocations: 109.1 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4296, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002505/0.4299, allocations: 15.98 kB / 1.331 GB, free: 12.15 MB / 1.029 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.0006948/0.4306, allocations: 0.7669 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.4309, allocations: 91.94 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4309, allocations: 4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.431, allocations: 55.91 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.4312, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4332, allocations: 1.637 MB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.122e-05/0.4333, allocations: 100.1 kB / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.44e-05/0.4334, allocations: 12.42 kB / 1.333 GB, free: 9.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.4334, allocations: 27.42 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4334, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.463, allocations: 2.607 MB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.57, allocations: 8.438 kB / 1.336 GB, free: 6.855 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.917128589004278]