Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 101.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 182 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.493/2.493, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 71.88 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8019, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002798/0.8047, allocations: 1.808 MB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.8058, allocations: 0.612 MB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.8058, allocations: 1.5 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.806, allocations: 23.73 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.8064, allocations: 122.5 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.8067, allocations: 151.4 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.8069, allocations: 224.7 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.8071, allocations: 36.02 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.8072, allocations: 108.6 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005577/0.8128, allocations: 0.7986 MB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.8128, allocations: 17.06 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.813, allocations: 39.06 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.813, allocations: 45.39 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.8131, allocations: 85.2 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.8135, allocations: 206.1 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8135, allocations: 0.8438 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8135, allocations: 0 / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8135, allocations: 0 / 1.275 GB, free: 5.371 MB / 0.9981 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.0006716/0.8142, allocations: 0.55 MB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.8142, allocations: 9.031 kB / 1.276 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.8143, allocations: 50.05 kB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.245e-05/0.8143, allocations: 19.28 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.8145, allocations: 248.1 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.8146, allocations: 10.28 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.8146, allocations: 15.31 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.8148, allocations: 99.5 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.8148, allocations: 4 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.8148, allocations: 6.031 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8148, allocations: 5.5 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.8149, allocations: 53.05 kB / 1.277 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007308/0.8156, allocations: 470.9 kB / 1.277 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.8158, allocations: 72.27 kB / 1.277 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.8159, allocations: 29.02 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.8159, allocations: 0.7812 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.8161, allocations: 95.67 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.8161, allocations: 0 / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003796/0.8165, allocations: 153.2 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.8165, allocations: 64.7 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.8167, allocations: 189.5 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.8168, allocations: 33.52 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.8168, allocations: 122.9 kB / 1.278 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.8169, allocations: 34.92 kB / 1.278 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.817, allocations: 62.06 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.817, allocations: 328.2 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.8171, allocations: 34.81 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.8174, allocations: 120.8 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.8176, allocations: 107.7 kB / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8176, allocations: 0 / 1.278 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003142/0.8179, allocations: 151.3 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.8179, allocations: 7.875 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.8179, allocations: 6.531 kB / 1.279 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.8179, allocations: 5.953 kB / 1.279 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.818, allocations: 23.94 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.818, allocations: 2.656 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.8183, allocations: 23.94 kB / 1.279 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.8183, allocations: 8.094 kB / 1.279 GB, free: 2.906 MB / 0.9981 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.000109/0.8184, allocations: 134.7 kB / 1.279 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.8184, allocations: 20.16 kB / 1.279 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.8187, allocations: 130.3 kB / 1.279 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8187, allocations: 5.344 kB / 1.279 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8187, allocations: 4.906 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8187, allocations: 0.9375 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.8193, allocations: 449.8 kB / 1.279 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8193, allocations: 2.125 kB / 1.279 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.8193, allocations: 9.625 kB / 1.279 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8193, allocations: 0.9375 kB / 1.279 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.8193, allocations: 7 kB / 1.279 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.8193, allocations: 1 kB / 1.279 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8193, allocations: 11.98 kB / 1.279 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.8196, allocations: 225.3 kB / 1.28 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.8196, allocations: 99.41 kB / 1.28 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.8197, allocations: 4.875 kB / 1.28 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.8198, allocations: 9.359 kB / 1.28 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.8199, allocations: 14.23 kB / 1.28 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.8199, allocations: 6.812 kB / 1.28 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.823e-05/0.82, allocations: 142.9 kB / 1.28 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.82, allocations: 3.938 kB / 1.28 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002923/0.8203, allocations: 42.7 kB / 1.28 GB, free: 1.918 MB / 0.9981 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.0005638/0.8209, allocations: 0.8102 MB / 1.281 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.8211, allocations: 91.64 kB / 1.281 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8211, allocations: 4.75 kB / 1.281 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.8211, allocations: 35.47 kB / 1.281 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.8215, allocations: 61.3 kB / 1.281 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.8234, allocations: 1.849 MB / 1.283 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.8238, allocations: 0.7223 MB / 1.283 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.709e-05/0.8239, allocations: 25.8 kB / 1.283 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.824, allocations: 49.12 kB / 1.283 GB, free: 14.91 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.824, allocations: 7.344 kB / 1.283 GB, free: 14.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.8527, allocations: 5.131 MB / 1.288 GB, free: 14.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.218/8.071, allocations: 4.656 kB / 1.288 GB, free: 14.18 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.398666360999414]