Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.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.001394/0.001394, allocations: 103.2 kB / 16.45 MB, free: 6.504 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.001479/0.001479, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.181/3.181, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") [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.002115/0.002115, allocations: 64.53 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3607, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003716/0.3644, allocations: 1.814 MB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3656, allocations: 0.5966 MB / 1.324 GB, free: 444 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.3657, allocations: 7.938 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.3659, allocations: 31.72 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.3664, allocations: 115.5 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.3668, allocations: 154.9 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.3671, allocations: 231.4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3672, allocations: 25.55 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3674, allocations: 103.7 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00607/0.3735, allocations: 0.8085 MB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.3735, allocations: 16 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3736, allocations: 35.98 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.3737, allocations: 43.83 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3738, allocations: 83.52 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.3743, allocations: 215.1 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3743, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3743, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3743, allocations: 4 kB / 1.325 GB, free: 14.76 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000988/0.3753, allocations: 0.5449 MB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3753, allocations: 15.98 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.922e-05/0.3754, allocations: 20.78 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.3758, allocations: 244.6 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3758, allocations: 4 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.3758, allocations: 16 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3761, allocations: 97.64 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3761, allocations: 0 / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3761, allocations: 11.94 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.3761, allocations: 3.938 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3762, allocations: 55.97 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009347/0.3772, allocations: 464.4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3774, allocations: 82.47 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.3774, allocations: 24.86 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3774, allocations: 3.938 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.3776, allocations: 96.36 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.3776, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003656/0.378, allocations: 165.5 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3781, allocations: 55.41 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.3783, allocations: 195 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.3783, allocations: 29.7 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3784, allocations: 120.5 kB / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.3785, allocations: 39.72 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.3786, allocations: 53.69 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3787, allocations: 330.8 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.3788, allocations: 27.98 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.3791, allocations: 134.2 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.3793, allocations: 105.1 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3793, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002739/0.3795, allocations: 145.4 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3795, allocations: 8 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3796, allocations: 0 / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3796, allocations: 7.938 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3797, allocations: 16.09 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3797, allocations: 8 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.3799, allocations: 23.88 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3799, allocations: 4 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001656/0.3801, allocations: 145.5 kB / 1.329 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.3802, allocations: 11.91 kB / 1.329 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3804, allocations: 135.1 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3804, allocations: 224 / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3804, allocations: 4 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3804, allocations: 3.938 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.381, allocations: 469.8 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.381, allocations: 0 / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.3811, allocations: 4 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3811, allocations: 0 / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3811, allocations: 4 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3811, allocations: 0 / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3811, allocations: 0 / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3814, allocations: 227.3 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.3815, allocations: 101 kB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.3815, allocations: 4 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3816, allocations: 7.984 kB / 1.329 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.3817, allocations: 11.98 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.3817, allocations: 15.92 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000144/0.3818, allocations: 140.3 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3818, allocations: 4 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003311/0.3822, allocations: 43.92 kB / 1.33 GB, free: 9.965 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004408/0.3826, allocations: 169.8 kB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.3829, allocations: 95.72 kB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3829, allocations: 0 / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.383, allocations: 39.92 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3834, allocations: 48.84 kB / 1.33 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/0.3842, allocations: 298.6 kB / 1.33 GB, free: 9.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.3847, allocations: 0.7163 MB / 1.331 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.191e-05/0.3847, allocations: 33.45 kB / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.3848, allocations: 19.44 kB / 1.331 GB, free: 8.523 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3848, allocations: 3.938 kB / 1.331 GB, free: 8.52 MB / 1.029 GB Notification: Performance of Templates: time 0.008977/0.3938, allocations: 3.328 MB / 1.334 GB, free: 5.219 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.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.932851172983646]