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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 192.7 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.501/2.501, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.267/3.267, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 69.58 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3213, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003127/0.3244, allocations: 1.938 MB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3255, allocations: 0.6356 MB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.3256, allocations: 4 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.3258, allocations: 19.8 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.3262, allocations: 107.6 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.3265, allocations: 135.8 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.3268, allocations: 227.4 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.327, allocations: 45.52 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3271, allocations: 103.7 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009663/0.3368, allocations: 0.7977 MB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.004e-05/0.3369, allocations: 20 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.337, allocations: 32 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.3371, allocations: 43.83 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3372, allocations: 87.56 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.3375, allocations: 207.4 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3376, allocations: 0 / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3376, allocations: 0 / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3376, allocations: 0 / 1.057 GB, free: 4.414 MB / 0.8106 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.000796/0.3384, allocations: 0.545 MB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3384, allocations: 8.625 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.3385, allocations: 42.73 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.3386, allocations: 16.75 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.3388, allocations: 244.3 kB / 1.058 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3389, allocations: 12 kB / 1.058 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.3389, allocations: 8 kB / 1.058 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.3391, allocations: 105.6 kB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3391, allocations: 0 / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3391, allocations: 0 / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3392, allocations: 3.938 kB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.3393, allocations: 55.97 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/0.3401, allocations: 468.4 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.3403, allocations: 78.55 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.3403, allocations: 32.84 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.3404, allocations: 3.984 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3405, allocations: 107.2 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.3405, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0003336/0.3409, allocations: 150.3 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.3409, allocations: 55.41 kB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.3411, allocations: 190.9 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.3412, allocations: 33.92 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.3413, allocations: 124.3 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3413, allocations: 43.48 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.3414, allocations: 61.61 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3415, allocations: 326.8 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.3416, allocations: 27.98 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.3418, allocations: 124.5 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.342, allocations: 103.2 kB / 1.06 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.342, allocations: 4 kB / 1.06 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002459/0.3422, allocations: 149.4 kB / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3423, allocations: 8 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3423, allocations: 3.938 kB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3423, allocations: 4 kB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.3424, allocations: 19.92 kB / 1.06 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3424, allocations: 4 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3426, allocations: 23.83 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.3426, allocations: 4 kB / 1.06 GB, free: 0.9805 MB / 0.8106 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.000133/0.3427, allocations: 141.9 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.3428, allocations: 15.84 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.343, allocations: 139 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.343, allocations: 0 / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.343, allocations: 0 / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.343, allocations: 3.938 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.3436, allocations: 454.3 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3436, allocations: 0 / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.3436, allocations: 7.938 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3436, allocations: 0 / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3437, allocations: 7.984 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3437, allocations: 0 / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3437, allocations: 0 / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.3439, allocations: 219.3 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.344, allocations: 108.8 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.344, allocations: 7.984 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3441, allocations: 4 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.3442, allocations: 15.97 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3442, allocations: 12 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001199/0.3443, allocations: 148.3 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3443, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003006/0.3447, allocations: 36 kB / 1.061 GB, free: 15.59 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.0007176/0.3454, allocations: 0.8112 MB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3456, allocations: 99.84 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3456, allocations: 0 / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.819e-05/0.3457, allocations: 43.92 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3461, allocations: 62.08 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.3482, allocations: 1.891 MB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3485, allocations: 0.7163 MB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.612e-05/0.3486, allocations: 25.52 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.3487, allocations: 51.41 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.3487, allocations: 4 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.081/2.429, allocations: 4.897 MB / 1.069 GB, free: 7 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/2.43, allocations: 254.9 kB / 1.07 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/5.615, allocations: 4 kB / 1.07 GB, free: 6.73 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches