Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001253/0.001253, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.001921/0.001921, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.543/1.543, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 443.5 MB / 0.7287 GB, free: 14.68 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.89 kB / 1.056 GB, free: 2.617 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4006, allocations: 160.7 MB / 1.213 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004282/0.4049, allocations: 1.78 MB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.4064, allocations: 0.6168 MB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.4066, allocations: 3.938 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.4068, allocations: 27.67 kB / 1.215 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.4073, allocations: 119.4 kB / 1.215 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.4078, allocations: 151.6 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.4081, allocations: 223.5 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.4082, allocations: 33.81 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.4084, allocations: 107.7 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005998/0.4144, allocations: 0.8083 MB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.4145, allocations: 16 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.4146, allocations: 40 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.4147, allocations: 39.88 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.4148, allocations: 87.52 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.4152, allocations: 207.1 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4152, allocations: 4 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4152, allocations: 0 / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.4153, allocations: 0 / 1.217 GB, free: 13.5 MB / 0.9669 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.0008855/0.4161, allocations: 0.5372 MB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4162, allocations: 12.03 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.4162, allocations: 38.73 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.4163, allocations: 24.8 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.4167, allocations: 256.3 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4167, allocations: 8 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.4167, allocations: 19.98 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4169, allocations: 89.66 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.4169, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.417, allocations: 4 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.417, allocations: 7.938 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4171, allocations: 55.84 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008797/0.418, allocations: 472.5 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.4181, allocations: 70.55 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.4182, allocations: 28.84 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4182, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.4184, allocations: 103.2 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.4184, allocations: 0 / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0003506/0.4187, allocations: 149.6 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.4188, allocations: 55.41 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.419, allocations: 199.1 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.4191, allocations: 33.7 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4192, allocations: 120.5 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.4192, allocations: 35.72 kB / 1.219 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/0.4193, allocations: 61.62 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4195, allocations: 326.8 kB / 1.22 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.4195, allocations: 31.98 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.4198, allocations: 130.4 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4199, allocations: 105.2 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4199, allocations: 0 / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002627/0.4202, allocations: 153.5 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4202, allocations: 8 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4202, allocations: 3.938 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4202, allocations: 4 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.4203, allocations: 19.92 kB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4203, allocations: 0 / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.4205, allocations: 27.88 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4205, allocations: 4 kB / 1.22 GB, free: 10.07 MB / 0.9669 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.0001444/0.4207, allocations: 133.8 kB / 1.22 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.4207, allocations: 15.91 kB / 1.22 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.4209, allocations: 142.7 kB / 1.22 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4209, allocations: 0 / 1.22 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4209, allocations: 0 / 1.22 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4209, allocations: 0 / 1.22 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.4216, allocations: 470.2 kB / 1.221 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4216, allocations: 0 / 1.221 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.4216, allocations: 16 kB / 1.221 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4216, allocations: 3.984 kB / 1.221 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.4216, allocations: 0 / 1.221 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4216, allocations: 0 / 1.221 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4216, allocations: 7.938 kB / 1.221 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.4219, allocations: 215.3 kB / 1.221 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.422, allocations: 105 kB / 1.221 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.422, allocations: 0 / 1.221 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.4221, allocations: 12 kB / 1.221 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.4221, allocations: 19.97 kB / 1.221 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4222, allocations: 4 kB / 1.221 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001356/0.4223, allocations: 139.1 kB / 1.221 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4223, allocations: 0 / 1.221 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003044/0.4226, allocations: 47.94 kB / 1.221 GB, free: 8.656 MB / 0.9669 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.0009283/0.4235, allocations: 0.8146 MB / 1.222 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4238, allocations: 90.28 kB / 1.222 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4238, allocations: 0 / 1.222 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.4238, allocations: 39.92 kB / 1.222 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4243, allocations: 56.75 kB / 1.222 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.4266, allocations: 1.858 MB / 1.224 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.427, allocations: 0.7202 MB / 1.225 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.175e-05/0.4271, allocations: 17.55 kB / 1.225 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4272, allocations: 55.41 kB / 1.225 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.4272, allocations: 0 / 1.225 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.4598, allocations: 5.132 MB / 1.23 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.903, allocations: 16.67 kB / 1.23 GB, free: 15.85 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.193866991903633]