Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 472.7 MB / 0.7452 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003241/0.3244, allocations: 1.784 MB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3256, allocations: 0.5967 MB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.3257, allocations: 4 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.3259, allocations: 31.67 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.3262, allocations: 111.5 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.3265, allocations: 151.7 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.3268, allocations: 227.4 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3269, allocations: 41.53 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3271, allocations: 99.73 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004529/0.3316, allocations: 0.8027 MB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.3317, allocations: 16 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.3318, allocations: 39.92 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.3318, allocations: 35.84 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3319, allocations: 95.56 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.3323, allocations: 199.4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3323, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3323, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3323, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 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.0008162/0.3331, allocations: 0.5412 MB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3332, allocations: 8.031 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.3332, allocations: 24.75 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.3335, allocations: 252.4 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3335, allocations: 8 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.3336, allocations: 16 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3338, allocations: 98.52 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3338, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3338, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3338, allocations: 7.938 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3339, allocations: 47.97 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.3347, allocations: 476.3 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3349, allocations: 78.55 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.3349, allocations: 28.86 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.335, allocations: 7.984 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3351, allocations: 91.31 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.3351, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0002921/0.3354, allocations: 153.6 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3355, allocations: 59.39 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3357, allocations: 190.4 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.3357, allocations: 33.7 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.3358, allocations: 124.3 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3358, allocations: 35.55 kB / 1.075 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.3359, allocations: 49.69 kB / 1.075 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.336, allocations: 330.8 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.3361, allocations: 27.98 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.3364, allocations: 130.4 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3365, allocations: 108.2 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3365, allocations: 3.938 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002392/0.3367, allocations: 149.3 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3368, allocations: 4 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3368, allocations: 4 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3368, allocations: 3.938 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.3369, allocations: 23.94 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3369, allocations: 8.141 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.3371, allocations: 19.84 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3371, allocations: 12 kB / 1.075 GB, free: 2.953 MB / 0.8262 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.0001246/0.3373, allocations: 135.8 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3373, allocations: 15.81 kB / 1.076 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.3375, allocations: 131.1 kB / 1.076 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3375, allocations: 4 kB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3375, allocations: 0 / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3376, allocations: 4 kB / 1.076 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.3381, allocations: 458.2 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3381, allocations: 0 / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.3381, allocations: 8 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3381, allocations: 3.938 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3382, allocations: 4 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3382, allocations: 0 / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3382, allocations: 0 / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.3384, allocations: 221.8 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.3385, allocations: 104.8 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3385, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3386, allocations: 11.98 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.3387, allocations: 11.98 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3387, allocations: 11.98 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001195/0.3388, allocations: 149.3 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3388, allocations: 0 / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000297/0.3391, allocations: 40 kB / 1.077 GB, free: 1.562 MB / 0.8262 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.0003311/0.3395, allocations: 172.4 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3397, allocations: 91.91 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3397, allocations: 4 kB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.3398, allocations: 39.92 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3402, allocations: 68.55 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.3408, allocations: 294 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3411, allocations: 0.7163 MB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.084e-05/0.3412, allocations: 37.45 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.3412, allocations: 23.42 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of SimCode: time 1.744e-06/0.3412, allocations: 0 / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of Templates: time 0.006954/0.3482, allocations: 3.295 MB / 1.081 GB, free: 12.84 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches