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.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.0008199/0.0008199, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008251/0.0008251, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.8858/0.8858, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.786/1.786, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.735e-05, allocations: 6.219 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002097/0.002114, allocations: 1.768 MB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.002879, allocations: 0.5965 MB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.002939, allocations: 3.938 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.003099, allocations: 27.73 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.003386, allocations: 127.2 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.00362, allocations: 155.6 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.003826, allocations: 227.4 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.003931, allocations: 33.73 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.004049, allocations: 135.7 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.006358, allocations: 0.7858 MB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.006394, allocations: 20 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.7e-05/0.006461, allocations: 31.94 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.006514, allocations: 39.83 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.006663, allocations: 67.81 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.006936, allocations: 227.3 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.006938, allocations: 4 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006939, allocations: 0 / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.006943, allocations: 0 / 1.004 GB, free: 9.504 MB / 0.9636 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.0005588/0.007502, allocations: 480.9 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.00754, allocations: 16.69 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.007572, allocations: 42.73 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.007622, allocations: 16.84 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.007814, allocations: 182.3 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.007827, allocations: 16.31 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.007848, allocations: 16 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.007988, allocations: 97.58 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.007996, allocations: 0 / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.008007, allocations: 8 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.008014, allocations: 4 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.008109, allocations: 55.91 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.00867, allocations: 411.7 kB / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.008794, allocations: 66.55 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.008828, allocations: 32.84 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.008847, allocations: 0 / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.008969, allocations: 95.31 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.00897, allocations: 0 / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0002651/0.009235, allocations: 141.6 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.009275, allocations: 59.34 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.009417, allocations: 197.8 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.00944, allocations: 37.7 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.009527, allocations: 132.5 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.009554, allocations: 31.73 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.009624, allocations: 57.67 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.009717, allocations: 326.8 kB / 1.006 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.009763, allocations: 31.92 kB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.009953, allocations: 237.7 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.01005, allocations: 109 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01006, allocations: 0 / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001673/0.01022, allocations: 156.9 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01024, allocations: 4 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01024, allocations: 4 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01026, allocations: 0 / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.01033, allocations: 23.92 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.01034, allocations: 3.938 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.01043, allocations: 24.11 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01044, allocations: 7.984 kB / 1.007 GB, free: 6.164 MB / 0.9636 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 9.995e-05/0.01054, allocations: 137.7 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.01056, allocations: 15.91 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.01072, allocations: 127.1 kB / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01072, allocations: 4 kB / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01073, allocations: 3.938 kB / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01073, allocations: 0 / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.01108, allocations: 409.5 kB / 1.007 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01108, allocations: 7.938 kB / 1.007 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.01111, allocations: 11.98 kB / 1.007 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01111, allocations: 0 / 1.007 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.01112, allocations: 4 kB / 1.007 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.01112, allocations: 3.938 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01112, allocations: 4 kB / 1.007 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.01126, allocations: 215.4 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.01129, allocations: 23.83 kB / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.01131, allocations: 8 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.01136, allocations: 4 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.01142, allocations: 19.97 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.01144, allocations: 8 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.561e-05/0.01152, allocations: 143.4 kB / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01152, allocations: 0 / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002104/0.01174, allocations: 47.88 kB / 1.008 GB, free: 4.906 MB / 0.9636 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.000499/0.01223, allocations: 0.8188 MB / 1.009 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.01239, allocations: 83.89 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01239, allocations: 0 / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.01245, allocations: 43.48 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.01271, allocations: 54.72 kB / 1.009 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.01411, allocations: 1.854 MB / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.764e-05/0.01418, allocations: 123.5 kB / 1.011 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.558e-05/0.01423, allocations: 21.48 kB / 1.011 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.0143, allocations: 52.47 kB / 1.011 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.0143, allocations: 0 / 1.011 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.03345, allocations: 6.061 MB / 1.017 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.062, allocations: 6.953 kB / 1.017 GB, free: 11.84 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.093580216169357]