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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000728/0.000728, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9215/0.9215, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.83/1.83, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.373e-05, allocations: 4.953 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003169/0.003193, allocations: 1.737 MB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.004713, allocations: 0.8927 MB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.769e-05/0.00481, allocations: 8 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.005019, allocations: 31.59 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.005422, allocations: 119.4 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.005779, allocations: 155.6 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.006077, allocations: 251.3 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.006214, allocations: 21.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.006409, allocations: 147.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008189/0.0146, allocations: 1.984 MB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.01465, allocations: 16 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.01475, allocations: 39.98 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.01481, allocations: 39.83 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.01489, allocations: 67.81 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.01522, allocations: 247.2 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01522, allocations: 3.938 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.964e-06/0.01522, allocations: 0 / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.01523, allocations: 0 / 1.005 GB, free: 8.305 MB / 0.9636 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.0006444/0.01587, allocations: 498.9 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.01591, allocations: 8.75 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.01594, allocations: 42.73 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.01599, allocations: 24.8 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.01621, allocations: 190.7 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.01623, allocations: 16.12 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.01625, allocations: 16 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.01641, allocations: 111.4 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.01642, allocations: 0 / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.01644, allocations: 3.984 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.01644, allocations: 4 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.869e-05/0.01654, allocations: 65.98 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.0172, allocations: 491.7 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.01735, allocations: 85.31 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.0174, allocations: 41.7 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.01742, allocations: 4 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.01759, allocations: 113.1 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.01759, allocations: 4 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0002918/0.01789, allocations: 160.1 kB / 1.007 GB, free: 6.289 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.01794, allocations: 89.09 kB / 1.007 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.01813, allocations: 194.8 kB / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01815, allocations: 33.7 kB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.01823, allocations: 128.5 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.01825, allocations: 35.73 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.01832, allocations: 61.67 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.01841, allocations: 330.8 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.01846, allocations: 35.98 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.01866, allocations: 240.3 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.01877, allocations: 117.9 kB / 1.008 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01877, allocations: 4 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001696/0.01894, allocations: 164.4 kB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01896, allocations: 4.156 kB / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01896, allocations: 8 kB / 1.008 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01898, allocations: 0 / 1.008 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.01905, allocations: 15.94 kB / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01905, allocations: 7.984 kB / 1.008 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.01918, allocations: 27.88 kB / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.01919, allocations: 11.94 kB / 1.008 GB, free: 4.672 MB / 0.9636 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 9.686e-05/0.01928, allocations: 139.7 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.01945, allocations: 23.84 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.0195, allocations: 17.47 kB / 1.009 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.0195, allocations: 8 kB / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01951, allocations: 0 / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01951, allocations: 0 / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.02009, allocations: 425.3 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.02009, allocations: 0 / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.02012, allocations: 8 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.02012, allocations: 0 / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.02013, allocations: 7.984 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.02014, allocations: 0 / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02014, allocations: 4 kB / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.02036, allocations: 244 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.02039, allocations: 15.98 kB / 1.009 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.02041, allocations: 3.984 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.02053, allocations: 15.98 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.0206, allocations: 23.91 kB / 1.009 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.02063, allocations: 4 kB / 1.009 GB, free: 3.672 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001219/0.02075, allocations: 146.7 kB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.02075, allocations: 0 / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000377/0.02113, allocations: 47.92 kB / 1.01 GB, free: 3.484 MB / 0.9636 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.0007217/0.02185, allocations: 0.8349 MB / 1.01 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.02219, allocations: 95.83 kB / 1.01 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.02219, allocations: 4 kB / 1.01 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.665e-05/0.02228, allocations: 39.98 kB / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.02272, allocations: 52.8 kB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.0247, allocations: 1.934 MB / 1.012 GB, free: 400 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.44e-05/0.0248, allocations: 112.2 kB / 1.013 GB, free: 268 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.541e-05/0.02488, allocations: 21.62 kB / 1.013 GB, free: 244 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.02498, allocations: 56.48 kB / 1.013 GB, free: 188 kB / 0.9636 GB Notification: Performance of SimCode: time 7.01e-07/0.02498, allocations: 0 / 1.013 GB, free: 188 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.04932, allocations: 6.54 MB / 1.019 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.47, allocations: 21.69 kB / 1.019 GB, free: 9.844 MB / 0.9792 GB " [Timeout remaining time 292] (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 800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable plotConfiguration.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.76050304621458]