Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_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.001345/0.001345, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 70.5 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2983, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003411/0.3017, allocations: 1.783 MB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3029, allocations: 0.5967 MB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.303, allocations: 4 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.3032, allocations: 19.73 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.3037, allocations: 127.3 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.3041, allocations: 145.3 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.3044, allocations: 223.5 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3045, allocations: 33.55 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.3047, allocations: 111.7 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004638/0.3094, allocations: 0.8009 MB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.3094, allocations: 16 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3096, allocations: 36 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.3096, allocations: 43.78 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3097, allocations: 91.55 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.3101, allocations: 203.4 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3101, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3101, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.3101, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8262 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.0007712/0.3109, allocations: 0.5392 MB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.311, allocations: 11.97 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.311, allocations: 46.73 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.3111, allocations: 24.69 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3114, allocations: 244.3 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3114, allocations: 12 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.3114, allocations: 12 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3116, allocations: 101.6 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3117, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3117, allocations: 4 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.3117, allocations: 7.938 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3118, allocations: 47.97 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000837/0.3127, allocations: 476.3 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.3128, allocations: 78.55 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.3129, allocations: 28.84 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3129, allocations: 4 kB / 1.069 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3131, allocations: 95.27 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.3131, allocations: 3.938 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0003209/0.3134, allocations: 153.6 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3135, allocations: 51.41 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3136, allocations: 199.2 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.3137, allocations: 29.7 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.3138, allocations: 124.3 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3138, allocations: 35.55 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.3139, allocations: 53.69 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.314, allocations: 330.8 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.3141, allocations: 27.98 kB / 1.07 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.3143, allocations: 136.4 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3145, allocations: 108.2 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3145, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002419/0.3147, allocations: 149.3 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3147, allocations: 4 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3148, allocations: 3.938 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3148, allocations: 4 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3149, allocations: 20.08 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3149, allocations: 8 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.3151, allocations: 19.84 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.3151, allocations: 11.98 kB / 1.071 GB, free: 7.027 MB / 0.8262 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.0001233/0.3152, allocations: 133.8 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.3153, allocations: 15.81 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.3155, allocations: 127.1 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3155, allocations: 0 / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3155, allocations: 4 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3155, allocations: 4 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.3161, allocations: 461.4 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3161, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.3161, allocations: 4 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3161, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.3162, allocations: 11.98 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3162, allocations: 7.938 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3162, allocations: 4 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.3164, allocations: 215.3 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.3165, allocations: 100.8 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3165, allocations: 7.984 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3166, allocations: 4 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.3167, allocations: 15.97 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3167, allocations: 8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001174/0.3169, allocations: 143.2 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3169, allocations: 0 / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003315/0.3172, allocations: 36 kB / 1.072 GB, free: 5.648 MB / 0.8262 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.0007585/0.318, allocations: 0.8226 MB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3182, allocations: 96.09 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3182, allocations: 4.062 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.3183, allocations: 47.92 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3187, allocations: 55.11 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3208, allocations: 1.841 MB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.3211, allocations: 0.7241 MB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.063e-05/0.3212, allocations: 21.53 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.3213, allocations: 47.42 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3213, allocations: 0 / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3443, allocations: 5.051 MB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.905, allocations: 13.56 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches