Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.001348/0.001348, 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.001506/0.001506, allocations: 196.6 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 62.69 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2664, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003391/0.2698, allocations: 1.747 MB / 1.055 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.2717, allocations: 0.9049 MB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2719, allocations: 0 / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.2721, allocations: 31.7 kB / 1.056 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.2726, allocations: 111.4 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.273, allocations: 155.7 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.2733, allocations: 235.4 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2735, allocations: 37.66 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.2737, allocations: 115.7 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0121/0.2858, allocations: 2.018 MB / 1.058 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.2859, allocations: 20 kB / 1.058 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.286, allocations: 39.98 kB / 1.058 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.2861, allocations: 39.89 kB / 1.058 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.2862, allocations: 83.56 kB / 1.058 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2865, allocations: 219.3 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2866, allocations: 0 / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2866, allocations: 7.938 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2866, allocations: 0 / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008213/0.2874, allocations: 0.545 MB / 1.059 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2874, allocations: 12.62 kB / 1.059 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.2875, allocations: 42.73 kB / 1.059 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.2876, allocations: 16.75 kB / 1.059 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.2879, allocations: 251.7 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.2879, allocations: 19.94 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.2879, allocations: 8 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2881, allocations: 91.03 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.2881, allocations: 0 / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.2881, allocations: 7.984 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2882, allocations: 4 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.2883, allocations: 51.92 kB / 1.06 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.289, allocations: 468.3 kB / 1.06 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.2895, allocations: 134.7 kB / 1.06 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.2896, allocations: 40.78 kB / 1.06 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.2896, allocations: 4 kB / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.2898, allocations: 113.9 kB / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2898, allocations: 0 / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003302/0.2902, allocations: 165.4 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.2902, allocations: 59.34 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.2904, allocations: 196.3 kB / 1.061 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.2905, allocations: 33.7 kB / 1.061 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.2906, allocations: 120.5 kB / 1.061 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.2906, allocations: 39.53 kB / 1.061 GB, free: 480 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.2907, allocations: 57.62 kB / 1.061 GB, free: 416 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2908, allocations: 330.8 kB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.2909, allocations: 35.98 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.2912, allocations: 125.7 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2913, allocations: 100.2 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.2913, allocations: 3.984 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002531/0.2916, allocations: 156.1 kB / 1.062 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2916, allocations: 8 kB / 1.062 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2916, allocations: 0 / 1.062 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2916, allocations: 4 kB / 1.062 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.2917, allocations: 16.06 kB / 1.062 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.2917, allocations: 7.984 kB / 1.062 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.292, allocations: 27.83 kB / 1.062 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.292, allocations: 4 kB / 1.062 GB, free: 15.55 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001332/0.2921, allocations: 149 kB / 1.062 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.2921, allocations: 15.81 kB / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.2922, allocations: 21.86 kB / 1.062 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2922, allocations: 0 / 1.062 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2922, allocations: 4 kB / 1.062 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2922, allocations: 0 / 1.062 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.2929, allocations: 0.4941 MB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2929, allocations: 4 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.2929, allocations: 4 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.293, allocations: 0 / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.293, allocations: 7.938 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.293, allocations: 4 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.293, allocations: 0 / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.2932, allocations: 238.2 kB / 1.063 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.2933, allocations: 88.92 kB / 1.063 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.2933, allocations: 7.922 kB / 1.063 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2934, allocations: 15.98 kB / 1.063 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.2935, allocations: 19.97 kB / 1.063 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2935, allocations: 12 kB / 1.063 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001222/0.2937, allocations: 144.2 kB / 1.063 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2937, allocations: 0 / 1.063 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003097/0.294, allocations: 43.94 kB / 1.063 GB, free: 14.2 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0007019/0.2947, allocations: 0.8301 MB / 1.064 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.295, allocations: 114 kB / 1.064 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.295, allocations: 0 / 1.064 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.062e-05/0.2951, allocations: 51.92 kB / 1.064 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.2955, allocations: 59.55 kB / 1.064 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.2975, allocations: 1.882 MB / 1.066 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.2978, allocations: 0.7242 MB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.304e-05/0.2979, allocations: 25.55 kB / 1.066 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.298, allocations: 55.41 kB / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.298, allocations: 0 / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3216, allocations: 5.529 MB / 1.072 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/7.854, allocations: 6.875 kB / 1.072 GB, free: 4.965 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches