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.001293/0.001293, 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.001248/0.001248, allocations: 195.8 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.782/2.782, allocations: 469.8 MB / 0.7424 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 69.86 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3571, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003918/0.3611, allocations: 1.747 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3629, allocations: 0.893 MB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.363, allocations: 7.938 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.3632, allocations: 23.73 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.3637, allocations: 119.4 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.3641, allocations: 153.7 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.3644, allocations: 235.4 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.3645, allocations: 49.59 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3647, allocations: 111.6 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01517/0.3798, allocations: 1.969 MB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.818e-05/0.38, allocations: 16 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.3801, allocations: 39.98 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.3802, allocations: 39.89 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.3804, allocations: 103.4 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.3807, allocations: 211.3 kB / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3808, allocations: 0 / 1.07 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3808, allocations: 4 kB / 1.07 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3808, allocations: 0 / 1.07 GB, free: 9.059 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.0009136/0.3817, allocations: 0.5489 MB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3818, allocations: 8.031 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.3818, allocations: 46.73 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.3819, allocations: 20.66 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3822, allocations: 243.3 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3822, allocations: 12 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.3823, allocations: 16 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3825, allocations: 107.4 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3825, allocations: 7.938 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3825, allocations: 3.938 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3825, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3827, allocations: 59.88 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.3836, allocations: 0.5512 MB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.3837, allocations: 101.2 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.3838, allocations: 33.78 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3838, allocations: 7.938 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.3841, allocations: 128.8 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.3842, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003533/0.3845, allocations: 157.4 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.3846, allocations: 85.11 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.3848, allocations: 200.3 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.3848, allocations: 33.7 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3849, allocations: 124.4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.385, allocations: 35.55 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.3851, allocations: 61.8 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3852, allocations: 326.8 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.3853, allocations: 35.98 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.3856, allocations: 133.3 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3857, allocations: 115.5 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3857, allocations: 0 / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002586/0.386, allocations: 157.9 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.386, allocations: 8 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.386, allocations: 3.984 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3861, allocations: 4 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.3862, allocations: 19.94 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3862, allocations: 4 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.3864, allocations: 31.81 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3864, allocations: 4 kB / 1.073 GB, free: 5.336 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.0001403/0.3866, allocations: 151.6 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.3866, allocations: 19.81 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.3867, allocations: 21.52 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3867, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3867, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3867, allocations: 4 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.3873, allocations: 467 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3873, allocations: 0 / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.3873, allocations: 4 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3873, allocations: 4 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3874, allocations: 3.938 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3874, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3874, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3876, allocations: 232.1 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.3877, allocations: 104.8 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3877, allocations: 7.922 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3879, allocations: 15.98 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.3879, allocations: 15.98 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.388, allocations: 11.98 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001331/0.3881, allocations: 144.2 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3881, allocations: 0 / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003048/0.3884, allocations: 55.91 kB / 1.074 GB, free: 3.996 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.00084/0.3893, allocations: 0.8365 MB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002635/0.3895, allocations: 99.84 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3895, allocations: 320 / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3897, allocations: 59.42 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3901, allocations: 58.31 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3922, allocations: 1.914 MB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3926, allocations: 0.7242 MB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.787e-05/0.3927, allocations: 25.47 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.3928, allocations: 55.41 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3928, allocations: 0 / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.524/1.917, allocations: 5.487 MB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/13.49, allocations: 21.67 kB / 1.083 GB, free: 10.74 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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