Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_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.001847/0.001847, 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.00207/0.00207, allocations: 194.1 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001909, allocations: 68.55 kB / 0.9087 GB, free: 34.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2645, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00315/0.2677, allocations: 1.741 MB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.2693, allocations: 0.9085 MB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.2694, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.2695, allocations: 27.73 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.2699, allocations: 119.4 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.2702, allocations: 149.1 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.2705, allocations: 239.4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2707, allocations: 37.66 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2708, allocations: 111.7 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01512/0.2859, allocations: 1.977 MB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.286, allocations: 19.94 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.2861, allocations: 39.98 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.2862, allocations: 35.89 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.2863, allocations: 95.5 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.2867, allocations: 215.3 kB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2867, allocations: 11.98 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.846e-06/0.2867, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2867, allocations: 3.938 kB / 1.07 GB, free: 8.984 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.0008199/0.2875, allocations: 0.5411 MB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2876, allocations: 12.03 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.2876, allocations: 34.75 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.2877, allocations: 32.64 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.288, allocations: 243.3 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.288, allocations: 16 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.288, allocations: 12 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.2883, allocations: 109.2 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2883, allocations: 0 / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2883, allocations: 7.984 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2883, allocations: 4 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.2884, allocations: 67.75 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008541/0.2893, allocations: 0.5318 MB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.2895, allocations: 101.1 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/0.2896, allocations: 41.77 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2896, allocations: 3.938 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.2898, allocations: 129.2 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2898, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003325/0.2902, allocations: 164.5 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.2902, allocations: 85.09 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2904, allocations: 192.3 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.2905, allocations: 37.69 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.2906, allocations: 128.6 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.2906, allocations: 31.55 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.2907, allocations: 61.67 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2909, allocations: 330.8 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.2909, allocations: 27.98 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.2912, allocations: 141.3 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2913, allocations: 109.9 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2914, allocations: 4 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002631/0.2916, allocations: 161.3 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2916, allocations: 4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2917, allocations: 4 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2917, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.2918, allocations: 19.98 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2918, allocations: 0 / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.292, allocations: 35.86 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.292, allocations: 12 kB / 1.073 GB, free: 5.262 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.0001348/0.2922, allocations: 135.5 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.2922, allocations: 19.8 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.2923, allocations: 21.47 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2923, allocations: 4 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2923, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2923, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.2929, allocations: 470.2 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2929, allocations: 0 / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.2929, allocations: 11.92 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2929, allocations: 0 / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.293, allocations: 11.94 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.293, allocations: 4 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.293, allocations: 0 / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.2932, allocations: 229.3 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.2933, allocations: 92.86 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.2933, allocations: 7.938 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2935, allocations: 11.98 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.2935, allocations: 27.91 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.2936, allocations: 4 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001314/0.2937, allocations: 152.2 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2937, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003159/0.294, allocations: 47.89 kB / 1.074 GB, free: 3.934 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.0007748/0.2948, allocations: 0.8334 MB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2951, allocations: 112 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2951, allocations: 3.938 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.2952, allocations: 46.23 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2956, allocations: 50.3 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.2977, allocations: 1.921 MB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.298, allocations: 0.7203 MB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.437e-05/0.2981, allocations: 25.62 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.2982, allocations: 63.41 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2982, allocations: 0 / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3573/0.6555, allocations: 5.501 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.703, allocations: 12.52 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches