Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.001317/0.001317, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001395/0.001395, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.432/1.432, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7629 GB, free: 15.22 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.89 kB / 1.107 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 168.7 MB / 1.272 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001979/1.038, allocations: 0.6012 MB / 1.273 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 4.309e-05/1.038, allocations: 0.7188 kB / 1.273 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/1.038, allocations: 4 kB / 1.273 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/1.038, allocations: 0.8125 kB / 1.273 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/1.038, allocations: 0 / 1.273 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.492e-05/1.038, allocations: 0.875 kB / 1.273 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.471e-05/1.038, allocations: 9.656 kB / 1.273 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/1.038, allocations: 4.75 kB / 1.273 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/1.038, allocations: 1.344 kB / 1.273 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.087e-05/1.038, allocations: 4.719 kB / 1.273 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/1.038, allocations: 0 / 1.273 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.496e-06/1.038, allocations: 0.8438 kB / 1.273 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/1.038, allocations: 0 / 1.273 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/1.038, allocations: 8.734 kB / 1.273 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.664e-05/1.038, allocations: 1.328 kB / 1.273 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.038, allocations: 0.6562 kB / 1.273 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.305e-06/1.038, allocations: 0 / 1.273 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.038, allocations: 0.75 kB / 1.273 GB, free: 7.566 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002509/1.038, allocations: 308.6 kB / 1.273 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.039, allocations: 9.844 kB / 1.273 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/1.039, allocations: 0.9375 kB / 1.273 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.768e-05/1.039, allocations: 166.4 kB / 1.273 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/1.039, allocations: 4.375 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/1.039, allocations: 1.219 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.206e-05/1.039, allocations: 33.03 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.039, allocations: 4.125 kB / 1.273 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/1.039, allocations: 4.781 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/1.039, allocations: 0 / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/1.039, allocations: 5.75 kB / 1.273 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/1.039, allocations: 152.3 kB / 1.273 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/1.039, allocations: 20.61 kB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/1.039, allocations: 11.47 kB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/1.039, allocations: 1 kB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/1.039, allocations: 31.22 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/1.039, allocations: 0.875 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/1.039, allocations: 39.42 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/1.039, allocations: 52.12 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.866e-05/1.039, allocations: 93.98 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/1.039, allocations: 26.22 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.11e-05/1.039, allocations: 81.11 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/1.039, allocations: 4.75 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/1.039, allocations: 12.08 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.673e-05/1.039, allocations: 311.5 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-06/1.039, allocations: 1.812 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/1.039, allocations: 1.438 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/1.039, allocations: 11.8 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.039, allocations: 0.8125 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.215e-05/1.039, allocations: 38.89 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.039, allocations: 6.109 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.039, allocations: 0 / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.039, allocations: 4.719 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/1.039, allocations: 2.484 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/1.039, allocations: 0 / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/1.039, allocations: 5.516 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/1.039, allocations: 4.031 kB / 1.274 GB, free: 5.988 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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 4.143e-05/1.04, allocations: 108.2 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-06/1.04, allocations: 1.203 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/1.04, allocations: 7.672 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-07/1.04, allocations: 0.5938 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.04, allocations: 0.8125 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.04, allocations: 0.75 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.384e-05/1.04, allocations: 149 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.04, allocations: 0 / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-06/1.04, allocations: 6.234 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/1.04, allocations: 0 / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/1.04, allocations: 8.625 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.04, allocations: 1.391 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.04, allocations: 11.86 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.197e-05/1.04, allocations: 53.05 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/1.04, allocations: 78.72 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/1.04, allocations: 8.594 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-06/1.04, allocations: 5.203 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/1.04, allocations: 1.297 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/1.04, allocations: 0 / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.194e-05/1.04, allocations: 75.94 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.04, allocations: 0 / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001907/1.04, allocations: 0.75 kB / 1.274 GB, free: 5.41 MB / 0.9981 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 (1): * Single equations (assignments): 1 * 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 9.54e-05/1.04, allocations: 95.36 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.162e-05/1.04, allocations: 11.69 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.04, allocations: 0.9688 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.951e-06/1.04, allocations: 1.656 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/1.04, allocations: 4.25 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/1.04, allocations: 91.47 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/1.041, allocations: 0.6718 MB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.146e-05/1.041, allocations: 0.75 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/1.041, allocations: 7.438 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.041, allocations: 4.844 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.002271/1.043, allocations: 171.7 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.866817492991686]