Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008262/0.0008262, 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.00108/0.00108, allocations: 170.3 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.8685/0.8685, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.687/1.687, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.353e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00253/0.002553, allocations: 1.6 MB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003651, allocations: 0.5693 MB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.003737, allocations: 4 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.003847, allocations: 7.875 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.003899, allocations: 19.8 kB / 0.9527 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.004287, allocations: 59.86 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.004431, allocations: 91.62 kB / 0.9528 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.004561, allocations: 27.92 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.004728, allocations: 63.81 kB / 0.9529 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.005007, allocations: 35.89 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.005031, allocations: 8 kB / 0.9529 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.005119, allocations: 15.98 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.005166, allocations: 19.92 kB / 0.953 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.005215, allocations: 27.91 kB / 0.953 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.00541, allocations: 103.6 kB / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.005413, allocations: 0 / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005415, allocations: 0 / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.00542, allocations: 0 / 0.9531 GB, free: 0.8359 MB / 0.9011 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.0005493/0.005969, allocations: 345.8 kB / 0.9534 GB, free: 480 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.006022, allocations: 8.031 kB / 0.9534 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.006075, allocations: 42.69 kB / 0.9535 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.006347, allocations: 32.86 kB / 0.9535 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.006643, allocations: 144 kB / 0.9536 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.006656, allocations: 384 / 0.9536 GB, free: 220 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.006674, allocations: 12.38 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.006958, allocations: 116.7 kB / 0.9538 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.006968, allocations: 0 / 0.9538 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.006982, allocations: 4 kB / 0.9538 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.00699, allocations: 4 kB / 0.9538 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.007214, allocations: 95.86 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.007836, allocations: 343.6 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.007983, allocations: 62.55 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.844e-05/0.008081, allocations: 44.95 kB / 0.9543 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.008127, allocations: 3.984 kB / 0.9543 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.008154, allocations: 38.5 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.008156, allocations: 0 / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0004301/0.008586, allocations: 161.5 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.008626, allocations: 59.41 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.008745, allocations: 148.6 kB / 0.9547 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.008761, allocations: 25.7 kB / 0.9547 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.008826, allocations: 108.1 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.008858, allocations: 15.94 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.008914, allocations: 25.7 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.009031, allocations: 314.8 kB / 0.9551 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.009132, allocations: 39.97 kB / 0.9552 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.61e-05/0.009218, allocations: 39.97 kB / 0.9552 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.009404, allocations: 92.8 kB / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009407, allocations: 0 / 0.9553 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002461/0.009653, allocations: 129.5 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.009671, allocations: 6.656 kB / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.009676, allocations: 0 / 0.9554 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.009692, allocations: 3.938 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.009819, allocations: 19.98 kB / 0.9555 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.009824, allocations: 4 kB / 0.9555 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.009879, allocations: 15.97 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.009904, allocations: 4 kB / 0.9555 GB, free: 14.19 MB / 0.9167 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 9.342e-05/0.009997, allocations: 117.8 kB / 0.9556 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.01003, allocations: 7.953 kB / 0.9556 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.01036, allocations: 154.7 kB / 0.9558 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01037, allocations: 3.938 kB / 0.9558 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01037, allocations: 4 kB / 0.9558 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01037, allocations: 0 / 0.9558 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.01059, allocations: 172.7 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01059, allocations: 0 / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.01068, allocations: 15.98 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.01069, allocations: 3.984 kB / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.0107, allocations: 0 / 0.9559 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.0107, allocations: 7.938 kB / 0.956 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0107, allocations: 0 / 0.956 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.01101, allocations: 227.4 kB / 0.9562 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.01103, allocations: 15.83 kB / 0.9562 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.01105, allocations: 0 / 0.9562 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.01114, allocations: 15.92 kB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.01119, allocations: 0 / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01121, allocations: 7.984 kB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.01128, allocations: 103.3 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01128, allocations: 0 / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002587/0.01154, allocations: 19.95 kB / 0.9563 GB, free: 13.25 MB / 0.9167 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.0004859/0.01203, allocations: 0.777 MB / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.01223, allocations: 95.88 kB / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01223, allocations: 0 / 0.9572 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.0123, allocations: 47.97 kB / 0.9572 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.0125, allocations: 12 kB / 0.9572 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.01378, allocations: 1.628 MB / 0.9588 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.711e-05/0.01385, allocations: 96.3 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.274e-05/0.01391, allocations: 15.92 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.01396, allocations: 28.48 kB / 0.959 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.01396, allocations: 0 / 0.959 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.03214, allocations: 2.737 MB / 0.9616 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/6.92, allocations: 9.797 kB / 0.9616 GB, free: 7.824 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.83390287682414]