Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 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.001946/0.001946, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 469.4 MB / 0.742 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 62.28 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.28, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003207/0.2832, allocations: 1.744 MB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2848, allocations: 0.9008 MB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.285, allocations: 0 / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.2852, allocations: 31.72 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.2856, allocations: 115.4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.2861, allocations: 155 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.2864, allocations: 239.5 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2865, allocations: 37.61 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.2867, allocations: 111.7 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009973/0.2967, allocations: 1.647 MB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.2967, allocations: 16 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.2969, allocations: 43.97 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.297, allocations: 39.84 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.2971, allocations: 95.5 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.2975, allocations: 207.3 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2975, allocations: 0 / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2975, allocations: 4 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.2975, allocations: 0 / 1.069 GB, free: 9.633 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008829/0.2984, allocations: 0.5527 MB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2985, allocations: 15.95 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.2985, allocations: 38.75 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.2986, allocations: 24.66 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.2989, allocations: 240 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.299, allocations: 15.94 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.299, allocations: 12 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.2992, allocations: 121 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2992, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2993, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.2993, allocations: 4 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.2994, allocations: 55.88 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.3003, allocations: 0.5435 MB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3005, allocations: 101.1 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.3005, allocations: 41.77 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3006, allocations: 3.938 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002624/0.3008, allocations: 125.3 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.3008, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003601/0.3012, allocations: 163.9 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3013, allocations: 81.11 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.3015, allocations: 200.3 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.3015, allocations: 33.7 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.3016, allocations: 128.4 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.3017, allocations: 27.56 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.3018, allocations: 61.67 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3019, allocations: 327 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.302, allocations: 31.98 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.3022, allocations: 146.8 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3024, allocations: 117.9 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3024, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002609/0.3027, allocations: 153.3 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3027, allocations: 4.156 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3027, allocations: 8 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3027, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.3028, allocations: 27.88 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3028, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.3031, allocations: 27.81 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3031, allocations: 12 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001261/0.3032, allocations: 135.5 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.3033, allocations: 19.81 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.3033, allocations: 25.52 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3033, allocations: 7.938 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3034, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3034, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.3039, allocations: 473.8 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.304, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.304, allocations: 8 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.304, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.304, allocations: 11.92 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.304, allocations: 3.938 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.304, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.3043, allocations: 220.2 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.3043, allocations: 96.84 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.3044, allocations: 15.94 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3045, allocations: 7.984 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.3046, allocations: 19.97 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.3046, allocations: 8 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001248/0.3047, allocations: 148.2 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3048, allocations: 0 / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003322/0.3051, allocations: 47.91 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007521/0.3059, allocations: 0.843 MB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3061, allocations: 111.8 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3061, allocations: 0 / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.3062, allocations: 51.91 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.3066, allocations: 50.45 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.3087, allocations: 1.937 MB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.309, allocations: 0.7203 MB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.3091, allocations: 21.53 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.3092, allocations: 59.41 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3092, allocations: 4 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3328, allocations: 5.484 MB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.66, allocations: 13.88 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_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_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches