Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 148 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.001249/0.001249, allocations: 193.5 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 469.4 MB / 0.742 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.89 kB / 0.9083 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2779, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003366/0.2813, allocations: 1.743 MB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2828, allocations: 0.9008 MB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.283, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.2832, allocations: 27.73 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.2837, allocations: 123.4 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.2841, allocations: 151.7 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.2844, allocations: 239.4 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2845, allocations: 41.67 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.2847, allocations: 111.7 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.2965, allocations: 1.977 MB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.432e-05/0.2966, allocations: 16 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.2968, allocations: 43.98 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.391e-05/0.2968, allocations: 35.89 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.297, allocations: 95.5 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.2973, allocations: 215.3 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2974, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2974, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.2974, allocations: 0 / 1.069 GB, free: 9.316 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.0008093/0.2982, allocations: 0.5528 MB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2982, allocations: 8.031 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.2983, allocations: 46.73 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.2984, allocations: 20.66 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2986, allocations: 243.9 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.2987, allocations: 12 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.2987, allocations: 16 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2989, allocations: 111.3 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.2989, allocations: 4 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.299, allocations: 4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.299, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2991, allocations: 63.81 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000841/0.2999, allocations: 0.5396 MB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3001, allocations: 105 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.205e-05/0.3002, allocations: 33.78 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3002, allocations: 11.94 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.3005, allocations: 123.5 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3005, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.000338/0.3009, allocations: 161.4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3009, allocations: 85.11 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3011, allocations: 200.3 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.3012, allocations: 33.7 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.3013, allocations: 120.5 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.3013, allocations: 35.55 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/0.3014, allocations: 57.67 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3015, allocations: 331 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.3016, allocations: 35.98 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.3018, allocations: 138.4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.302, allocations: 109.9 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.302, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002562/0.3022, allocations: 157 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3023, allocations: 16.02 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3023, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3023, allocations: 7.938 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.3024, allocations: 12 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3024, allocations: 4 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.3026, allocations: 35.75 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3027, allocations: 4 kB / 1.073 GB, free: 5.594 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.0001221/0.3028, allocations: 148.1 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.3028, allocations: 19.81 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.3029, allocations: 21.52 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3029, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3029, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3029, allocations: 4 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.3035, allocations: 466.2 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3035, allocations: 4 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.3035, allocations: 7.938 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3035, allocations: 4 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3035, allocations: 7.938 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3035, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3036, allocations: 3.984 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.3038, allocations: 216.2 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3038, allocations: 104.9 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3039, allocations: 11.92 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.304, allocations: 19.92 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.3041, allocations: 15.98 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.3041, allocations: 7.984 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001154/0.3042, allocations: 148.2 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3042, allocations: 0 / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003171/0.3046, allocations: 51.91 kB / 1.074 GB, free: 4.258 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.0006454/0.3052, allocations: 0.8301 MB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3054, allocations: 99.84 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3055, allocations: 3.938 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.3056, allocations: 56.17 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.306, allocations: 65.34 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3079, allocations: 1.918 MB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.3082, allocations: 0.7242 MB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.262e-05/0.3083, allocations: 21.53 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.3084, allocations: 55.41 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3084, allocations: 0 / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.3312, allocations: 5.501 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.402/7.734, allocations: 4.297 kB / 1.083 GB, free: 11 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches