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.001863/0.001863, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002168/0.002168, allocations: 210.4 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.452/3.452, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [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.002066/0.002066, allocations: 69.97 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 176.1 MB / 1.321 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00366/0.349, allocations: 1.81 MB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3504, allocations: 0.5966 MB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3505, allocations: 7.938 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.3508, allocations: 35.72 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.3512, allocations: 115.5 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.3517, allocations: 153.3 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.352, allocations: 227.4 kB / 1.324 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3522, allocations: 29.81 kB / 1.324 GB, free: 404 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3523, allocations: 99.75 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006304/0.3586, allocations: 0.8114 MB / 1.325 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3587, allocations: 16 kB / 1.325 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.3589, allocations: 39.98 kB / 1.325 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.359, allocations: 43.83 kB / 1.325 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.3591, allocations: 79.58 kB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.3595, allocations: 219 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3595, allocations: 0 / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3595, allocations: 0 / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.3596, allocations: 0 / 1.325 GB, free: 15.28 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.0009005/0.3605, allocations: 0.541 MB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3605, allocations: 19.98 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.3606, allocations: 38.73 kB / 1.326 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.3606, allocations: 20.84 kB / 1.326 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.361, allocations: 252.4 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.361, allocations: 8 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.361, allocations: 12 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3612, allocations: 95.72 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3612, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3612, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3613, allocations: 7.938 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3614, allocations: 59.91 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009433/0.3623, allocations: 472.5 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3625, allocations: 82.36 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.3626, allocations: 28.84 kB / 1.327 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3626, allocations: 4 kB / 1.327 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.3628, allocations: 91.36 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.3628, allocations: 0 / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003601/0.3632, allocations: 155.6 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3632, allocations: 59.39 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3634, allocations: 187 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.3635, allocations: 33.7 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3636, allocations: 128.5 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.3636, allocations: 35.73 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.3637, allocations: 53.67 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3639, allocations: 326.8 kB / 1.328 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.3639, allocations: 31.98 kB / 1.328 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.3642, allocations: 130.4 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3643, allocations: 109 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3643, allocations: 0 / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002767/0.3646, allocations: 143 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3646, allocations: 8 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3646, allocations: 3.938 kB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3647, allocations: 4 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3648, allocations: 19.97 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3648, allocations: 0 / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.365, allocations: 36.02 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.365, allocations: 4 kB / 1.328 GB, free: 11.84 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.0001383/0.3651, allocations: 133.6 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.3652, allocations: 19.89 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.3654, allocations: 131.1 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3654, allocations: 4.219 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3654, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3654, allocations: 3.938 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006149/0.366, allocations: 467.3 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.366, allocations: 0 / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.3661, allocations: 11.98 kB / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3661, allocations: 0 / 1.329 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3661, allocations: 4 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3661, allocations: 0 / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3661, allocations: 4 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.3664, allocations: 223 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.3665, allocations: 105 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3665, allocations: 7.938 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3666, allocations: 11.98 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.3667, allocations: 11.98 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.3667, allocations: 8 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001397/0.3668, allocations: 140.3 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3668, allocations: 0 / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003321/0.3672, allocations: 43.94 kB / 1.329 GB, free: 10.43 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.0008861/0.368, allocations: 0.8161 MB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.3683, allocations: 86.78 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3683, allocations: 4 kB / 1.33 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.3684, allocations: 40.23 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.3688, allocations: 50.7 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.3711, allocations: 1.849 MB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.3715, allocations: 0.7202 MB / 1.333 GB, free: 6.723 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.706e-05/0.3716, allocations: 21.55 kB / 1.333 GB, free: 6.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3717, allocations: 51.41 kB / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3717, allocations: 0 / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.4023, allocations: 5.121 MB / 1.338 GB, free: 1.637 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.757, allocations: 5 kB / 1.338 GB, free: 1.633 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.78733357298188]