Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 101.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 71.89 kB / 1.134 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 173.9 MB / 1.304 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003911/1.05, allocations: 1.608 MB / 1.306 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001183/1.051, allocations: 0.5106 MB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/1.051, allocations: 1.531 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/1.052, allocations: 14.41 kB / 1.306 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/1.052, allocations: 18.59 kB / 1.306 GB, free: 14.17 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/1.052, allocations: 30.45 kB / 1.306 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/1.052, allocations: 85.05 kB / 1.306 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/1.052, allocations: 31.17 kB / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/1.052, allocations: 44.94 kB / 1.306 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/1.053, allocations: 44.92 kB / 1.306 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/1.053, allocations: 5.094 kB / 1.306 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/1.053, allocations: 16.64 kB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/1.053, allocations: 17.53 kB / 1.306 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.669e-05/1.053, allocations: 44.23 kB / 1.306 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/1.053, allocations: 88.17 kB / 1.306 GB, free: 13.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.053, allocations: 0 / 1.306 GB, free: 13.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.925e-06/1.053, allocations: 0 / 1.306 GB, free: 13.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.356e-06/1.053, allocations: 1.156 kB / 1.306 GB, free: 13.98 MB / 1.014 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.0007861/1.054, allocations: 403 kB / 1.307 GB, free: 13.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.054, allocations: 9.438 kB / 1.307 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/1.054, allocations: 44.02 kB / 1.307 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/1.054, allocations: 9.203 kB / 1.307 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/1.054, allocations: 204.2 kB / 1.307 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.054, allocations: 11 kB / 1.307 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/1.054, allocations: 4.219 kB / 1.307 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/1.055, allocations: 112.9 kB / 1.307 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.055, allocations: 0 / 1.307 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/1.055, allocations: 9.469 kB / 1.307 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.055, allocations: 1.125 kB / 1.307 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/1.055, allocations: 101.4 kB / 1.307 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/1.056, allocations: 372 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/1.056, allocations: 62.95 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/1.056, allocations: 44.84 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/1.056, allocations: 10.55 kB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/1.056, allocations: 32.47 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/1.056, allocations: 0 / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.000507/1.057, allocations: 169.5 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/1.057, allocations: 60.62 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/1.057, allocations: 128.2 kB / 1.308 GB, free: 12.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/1.057, allocations: 25.7 kB / 1.308 GB, free: 12.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/1.057, allocations: 104.8 kB / 1.308 GB, free: 12.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/1.057, allocations: 28.3 kB / 1.308 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/1.057, allocations: 17.36 kB / 1.308 GB, free: 12.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.057, allocations: 324.6 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/1.057, allocations: 37.45 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/1.057, allocations: 39.16 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/1.058, allocations: 91.14 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.058, allocations: 1.125 kB / 1.309 GB, free: 12.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002782/1.058, allocations: 130.8 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.058, allocations: 8.125 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.058, allocations: 0.5156 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.058, allocations: 4.969 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/1.058, allocations: 17.44 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.058, allocations: 0.9688 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/1.058, allocations: 7.75 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/1.058, allocations: 7.391 kB / 1.309 GB, free: 11.96 MB / 1.014 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.0001044/1.058, allocations: 121.4 kB / 1.309 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/1.058, allocations: 9.062 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/1.059, allocations: 152.2 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.059, allocations: 9.656 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.059, allocations: 1.094 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.059, allocations: 0.5625 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/1.059, allocations: 207.7 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.059, allocations: 0.5625 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/1.059, allocations: 17.09 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/1.059, allocations: 1.719 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.059, allocations: 1.781 kB / 1.309 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.059, allocations: 4.641 kB / 1.309 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.059, allocations: 1.125 kB / 1.309 GB, free: 11.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/1.059, allocations: 227.6 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/1.059, allocations: 84.53 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/1.059, allocations: 1.094 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/1.06, allocations: 15.03 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/1.06, allocations: 5.656 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/1.06, allocations: 3.781 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.578e-05/1.06, allocations: 102.7 kB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.06, allocations: 0 / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002343/1.06, allocations: 17.03 kB / 1.31 GB, free: 11.18 MB / 1.014 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.0007069/1.061, allocations: 0.7569 MB / 1.311 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003163/1.061, allocations: 100.9 kB / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.061, allocations: 0 / 1.311 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/1.061, allocations: 52.39 kB / 1.311 GB, free: 10.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/1.061, allocations: 11.06 kB / 1.311 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/1.063, allocations: 1.611 MB / 1.312 GB, free: 9.137 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/1.064, allocations: 0.6989 MB / 1.313 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001359/1.064, allocations: 14.53 kB / 1.313 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/1.064, allocations: 29.84 kB / 1.313 GB, free: 8.418 MB / 1.014 GB Notification: Performance of SimCode: time 4.5e-07/1.064, allocations: 0 / 1.313 GB, free: 8.418 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/1.089, allocations: 2.036 MB / 1.315 GB, free: 7.664 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/9.082, allocations: 2.219 kB / 1.315 GB, free: 7.664 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.588206600397825]