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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001431/0.001431, allocations: 192.8 kB / 22.23 MB, free: 5.156 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.588/1.588, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 63.91 kB / 1.061 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8083/0.8105, allocations: 160.8 MB / 1.218 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002984/0.8135, allocations: 1.622 MB / 1.22 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.8145, allocations: 0.5074 MB / 1.221 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.8146, allocations: 3.938 kB / 1.221 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.8147, allocations: 19.86 kB / 1.221 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.8148, allocations: 7.875 kB / 1.221 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.8151, allocations: 43.88 kB / 1.221 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.8152, allocations: 79.77 kB / 1.221 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.8154, allocations: 28.22 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.8155, allocations: 39.84 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.8156, allocations: 39.84 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.8156, allocations: 7.938 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.047e-05/0.8157, allocations: 19.98 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.8157, allocations: 19.92 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.8158, allocations: 47.72 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.816, allocations: 89.97 kB / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.816, allocations: 0 / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.816, allocations: 0 / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.816, allocations: 0 / 1.221 GB, free: 1.785 MB / 0.92 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.000702/0.8167, allocations: 406.9 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.8167, allocations: 16.03 kB / 1.221 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.8168, allocations: 12.84 kB / 1.221 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.817, allocations: 188.2 kB / 1.222 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.8171, allocations: 8.375 kB / 1.222 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.8171, allocations: 4.375 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.8174, allocations: 117.8 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.8174, allocations: 0 / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8174, allocations: 0 / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.8174, allocations: 0 / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.8176, allocations: 103.9 kB / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.8183, allocations: 376.6 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.8185, allocations: 54.55 kB / 1.222 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.8186, allocations: 48.95 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.8186, allocations: 11.97 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.8187, allocations: 30.56 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.8187, allocations: 0 / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004685/0.8191, allocations: 165.7 kB / 1.222 GB, free: 108 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.8192, allocations: 59.41 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.8193, allocations: 136.4 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.8194, allocations: 25.7 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.8194, allocations: 108.2 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.8194, allocations: 23.78 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.8195, allocations: 17.72 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8196, allocations: 318.8 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.8198, allocations: 51.97 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.942e-05/0.8199, allocations: 39.97 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.8201, allocations: 96.73 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8201, allocations: 0 / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002662/0.8203, allocations: 121.6 kB / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.8204, allocations: 8 kB / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8204, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8204, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.8205, allocations: 23.91 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.8205, allocations: 7.938 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.8206, allocations: 4 kB / 1.223 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.8206, allocations: 7.984 kB / 1.223 GB, free: 15.02 MB / 0.9356 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.0001094/0.8207, allocations: 117.8 kB / 1.224 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.8208, allocations: 11.95 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.8211, allocations: 146.2 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.8212, allocations: 7.938 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.8212, allocations: 0 / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8212, allocations: 0 / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.8214, allocations: 197.6 kB / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8214, allocations: 256 / 1.224 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.8215, allocations: 19.98 kB / 1.224 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.8215, allocations: 7.984 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.8215, allocations: 4 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.8215, allocations: 3.938 kB / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8215, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.8219, allocations: 223.4 kB / 1.224 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.8219, allocations: 89 kB / 1.224 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.8219, allocations: 4 kB / 1.224 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.822, allocations: 15.92 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.8221, allocations: 4 kB / 1.224 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.8221, allocations: 7.984 kB / 1.224 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.513e-05/0.8222, allocations: 101.6 kB / 1.224 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8222, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002623/0.8225, allocations: 15.95 kB / 1.224 GB, free: 13.97 MB / 0.9356 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.0001484/0.8226, allocations: 103.2 kB / 1.224 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.8229, allocations: 111.8 kB / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8229, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.8231, allocations: 47.97 kB / 1.225 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.8233, allocations: 8 kB / 1.225 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.8238, allocations: 219 kB / 1.225 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.8242, allocations: 0.7041 MB / 1.226 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.8243, allocations: 11.98 kB / 1.226 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.8243, allocations: 11.44 kB / 1.226 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.8243, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.003597/0.8279, allocations: 0.7496 MB / 1.226 GB, free: 11.95 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.577895313501358]