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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006841/0.006841, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 197.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437.1 MB / 0.7106 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001866, allocations: 59.91 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7103/0.7122, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003126/0.7154, allocations: 1.78 MB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.7165, allocations: 0.5966 MB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.7166, allocations: 4 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.7168, allocations: 31.72 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.7172, allocations: 119.5 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.7176, allocations: 153.4 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.7178, allocations: 223.5 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.718, allocations: 37.55 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.7181, allocations: 107.6 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005985/0.7241, allocations: 0.809 MB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.7242, allocations: 16 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.7243, allocations: 39.98 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.7244, allocations: 31.91 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.7246, allocations: 95.56 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.725, allocations: 204.2 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.725, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/0.725, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.725, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 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.0008604/0.7259, allocations: 0.541 MB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7259, allocations: 8.922 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.726, allocations: 50.67 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.7261, allocations: 28.73 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.7264, allocations: 236.5 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.7264, allocations: 12 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.7264, allocations: 20 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.7266, allocations: 94.72 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7267, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.7267, allocations: 7.984 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.7267, allocations: 7.938 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.7268, allocations: 51.97 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000815/0.7276, allocations: 472.4 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.7278, allocations: 78.55 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.7279, allocations: 28.84 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.7279, allocations: 4 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.7281, allocations: 95.27 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.7281, allocations: 4 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0003315/0.7284, allocations: 150.9 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.7285, allocations: 59.38 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.7287, allocations: 196 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.7288, allocations: 33.7 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.7289, allocations: 124.4 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.7289, allocations: 27.75 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.729, allocations: 61.62 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7292, allocations: 330.8 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.7292, allocations: 27.98 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.7295, allocations: 130.7 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.7297, allocations: 110.9 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7297, allocations: 0 / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002691/0.73, allocations: 149.5 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.73, allocations: 8.156 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.73, allocations: 7.938 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.73, allocations: 0 / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.7301, allocations: 19.92 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7301, allocations: 4 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.7303, allocations: 23.88 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.7304, allocations: 8 kB / 1.173 GB, free: 12.27 MB / 0.9044 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.0001353/0.7305, allocations: 129.8 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.7305, allocations: 15.91 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.7308, allocations: 132.6 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7308, allocations: 3.938 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7308, allocations: 4 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7308, allocations: 0 / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.7314, allocations: 458.3 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7314, allocations: 0 / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.7315, allocations: 15.92 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.7315, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.7315, allocations: 8 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.7315, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7315, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.7317, allocations: 220.7 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.7318, allocations: 100.9 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.7319, allocations: 4 kB / 1.174 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.732, allocations: 15.98 kB / 1.174 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.7321, allocations: 19.98 kB / 1.174 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.7321, allocations: 4 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001315/0.7322, allocations: 139.1 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7322, allocations: 0 / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003103/0.7325, allocations: 40 kB / 1.175 GB, free: 10.88 MB / 0.9044 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.4039/1.136, allocations: 0.8285 MB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003778/1.137, allocations: 95.84 kB / 1.176 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.137, allocations: 0 / 1.176 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-05/1.137, allocations: 43.98 kB / 1.176 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/1.138, allocations: 52.72 kB / 1.176 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/1.14, allocations: 1.842 MB / 1.177 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/1.14, allocations: 0.7241 MB / 1.178 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.298e-05/1.14, allocations: 21.55 kB / 1.178 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/1.14, allocations: 51.41 kB / 1.178 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/1.14, allocations: 0 / 1.178 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.902/3.043, allocations: 5.102 MB / 1.183 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/10.95, allocations: 9.203 kB / 1.183 GB, free: 2.09 MB / 0.9044 GB (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 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches