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.001864/0.001864, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.00211/0.00211, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] 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.498/2.498, allocations: 476.7 MB / 0.7628 GB, free: 15.21 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.00181/0.00181, allocations: 67.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.8001, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002672/0.8027, allocations: 1.801 MB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.8037, allocations: 0.6116 MB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.8038, allocations: 1.406 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.8039, allocations: 28.06 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.8042, allocations: 123 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.8045, allocations: 152 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.8047, allocations: 225 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.8048, allocations: 28.19 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.805, allocations: 108.4 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005223/0.8102, allocations: 0.7989 MB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.8102, allocations: 15.81 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.8103, allocations: 45.94 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.8104, allocations: 44.7 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.8104, allocations: 88.61 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.8107, allocations: 213 kB / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8107, allocations: 0 / 1.276 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8107, allocations: 5.094 kB / 1.276 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.351e-06/0.8107, allocations: 0 / 1.276 GB, free: 5.367 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.0005808/0.8113, allocations: 0.5402 MB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.8113, allocations: 9.969 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.8114, allocations: 40.31 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.8114, allocations: 19.47 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.8116, allocations: 249.3 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.8116, allocations: 14 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.8117, allocations: 15.41 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.8118, allocations: 93.64 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8119, allocations: 1.062 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.8119, allocations: 10 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8119, allocations: 6.031 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.812, allocations: 49.83 kB / 1.277 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.8126, allocations: 478.4 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.8128, allocations: 73.5 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.8128, allocations: 28.83 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.8128, allocations: 1.75 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.813, allocations: 93.39 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.813, allocations: 0 / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0002763/0.8132, allocations: 151.9 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.8133, allocations: 59.58 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.8134, allocations: 195.2 kB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.8135, allocations: 33.11 kB / 1.278 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.8135, allocations: 126.6 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.8135, allocations: 35.42 kB / 1.278 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.8136, allocations: 59.55 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.8137, allocations: 327.8 kB / 1.278 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.8137, allocations: 31.41 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.8139, allocations: 123.9 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.814, allocations: 108.6 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.814, allocations: 0 / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002158/0.8142, allocations: 150.7 kB / 1.279 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.8143, allocations: 7.531 kB / 1.279 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.8143, allocations: 5.844 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.8143, allocations: 8.438 kB / 1.279 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.8144, allocations: 17.41 kB / 1.279 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.8144, allocations: 2.375 kB / 1.279 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.8146, allocations: 22.44 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.8146, allocations: 8.438 kB / 1.279 GB, free: 2.914 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 8.443e-05/0.8146, allocations: 136.5 kB / 1.279 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.8147, allocations: 19.94 kB / 1.279 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.8149, allocations: 134.9 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.8149, allocations: 1.531 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.8149, allocations: 0.9688 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.8149, allocations: 2.438 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.8153, allocations: 457.9 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8153, allocations: 0.9844 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.8153, allocations: 13.52 kB / 1.279 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8153, allocations: 1.031 kB / 1.279 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.8154, allocations: 6.75 kB / 1.279 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8154, allocations: 0.9688 kB / 1.279 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8154, allocations: 0 / 1.279 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.8155, allocations: 215.6 kB / 1.28 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.8156, allocations: 112.2 kB / 1.28 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.8156, allocations: 4.266 kB / 1.28 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.8157, allocations: 13.64 kB / 1.28 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.8158, allocations: 12.23 kB / 1.28 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.8158, allocations: 14.36 kB / 1.28 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.8159, allocations: 139.7 kB / 1.28 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8159, allocations: 0 / 1.28 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002881/0.8162, allocations: 36.84 kB / 1.28 GB, free: 1.93 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.0005368/0.8167, allocations: 0.8189 MB / 1.281 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.8169, allocations: 87.41 kB / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8169, allocations: 0 / 1.281 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.817, allocations: 43.3 kB / 1.281 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.8173, allocations: 51.67 kB / 1.281 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.819, allocations: 1.852 MB / 1.283 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8193, allocations: 0.7216 MB / 1.283 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.942e-05/0.8194, allocations: 21.48 kB / 1.283 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.98e-05/0.8195, allocations: 53.33 kB / 1.283 GB, free: 14.92 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.8195, allocations: 0 / 1.283 GB, free: 14.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.8464, allocations: 5.14 MB / 1.288 GB, free: 14.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/8.043, allocations: 6.375 kB / 1.288 GB, free: 14.19 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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] "Error: Could not read variable sca.y[1] in file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv. Warning: Get data of variable sca.y[1] from file Buildings_11_Buildings.Utilities.Plotters.Examples.Scatter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.492710813006852]