Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001269/0.001269, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001431/0.001431, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.278/3.278, allocations: 0.49 GB / 0.7916 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 62.34 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3792, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003402/0.3826, allocations: 1.754 MB / 1.323 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3843, allocations: 0.9474 MB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.3843, allocations: 3.938 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.3846, allocations: 31.73 kB / 1.323 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.385, allocations: 119.4 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.3854, allocations: 150 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.3857, allocations: 255.3 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3858, allocations: 25.95 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.386, allocations: 115.6 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01635/0.4023, allocations: 1.993 MB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.4025, allocations: 16 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.4026, allocations: 39.98 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.4027, allocations: 39.83 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.4029, allocations: 99.5 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.4034, allocations: 219.1 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4034, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.176e-06/0.4034, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.4034, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 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.001062/0.4045, allocations: 0.5623 MB / 1.327 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4045, allocations: 15.98 kB / 1.327 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.415e-05/0.4046, allocations: 46.73 kB / 1.327 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.4047, allocations: 20.8 kB / 1.327 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.4051, allocations: 247.4 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4051, allocations: 12 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.4051, allocations: 12 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4054, allocations: 111.3 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4054, allocations: 4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.4054, allocations: 4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4054, allocations: 7.938 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4055, allocations: 55.88 kB / 1.328 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.4067, allocations: 0.5435 MB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.407, allocations: 97.06 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.407, allocations: 29.78 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.407, allocations: 7.938 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.4073, allocations: 132.7 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.4073, allocations: 0 / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004291/0.4077, allocations: 168.8 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.4078, allocations: 77.11 kB / 1.329 GB, free: 11.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.4081, allocations: 206.7 kB / 1.329 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.4081, allocations: 33.7 kB / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4082, allocations: 116.5 kB / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.4083, allocations: 31.86 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.4084, allocations: 69.66 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4086, allocations: 326.8 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.4086, allocations: 31.98 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.4089, allocations: 141.3 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.4091, allocations: 109.9 kB / 1.33 GB, free: 10.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4091, allocations: 0 / 1.33 GB, free: 10.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003039/0.4094, allocations: 161.4 kB / 1.33 GB, free: 10.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4094, allocations: 8 kB / 1.33 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4094, allocations: 0 / 1.33 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.4095, allocations: 7.984 kB / 1.33 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.4096, allocations: 15.94 kB / 1.33 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4096, allocations: 4 kB / 1.33 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.4098, allocations: 27.88 kB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.4098, allocations: 8.141 kB / 1.33 GB, free: 10.33 MB / 1.029 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.0001555/0.41, allocations: 147.5 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.41, allocations: 19.84 kB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.4101, allocations: 25.45 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4101, allocations: 0 / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4101, allocations: 4 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4101, allocations: 0 / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.4109, allocations: 466.3 kB / 1.33 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4109, allocations: 0 / 1.33 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.4109, allocations: 8 kB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-06/0.4109, allocations: 4 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4109, allocations: 3.938 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4109, allocations: 3.938 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.4109, allocations: 4 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.4112, allocations: 236.2 kB / 1.331 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.4113, allocations: 89.02 kB / 1.331 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.4113, allocations: 7.922 kB / 1.331 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4115, allocations: 19.98 kB / 1.331 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.4116, allocations: 15.98 kB / 1.331 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.4116, allocations: 7.984 kB / 1.331 GB, free: 9.184 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001667/0.4118, allocations: 148.2 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4118, allocations: 0 / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003478/0.4121, allocations: 43.94 kB / 1.331 GB, free: 8.996 MB / 1.029 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.0009676/0.4131, allocations: 0.8414 MB / 1.332 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.4133, allocations: 99.83 kB / 1.332 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4133, allocations: 320 / 1.332 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4134, allocations: 52.55 kB / 1.332 GB, free: 8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.4139, allocations: 50.52 kB / 1.332 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.4164, allocations: 1.926 MB / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.4169, allocations: 0.7242 MB / 1.335 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.417, allocations: 21.55 kB / 1.335 GB, free: 5.141 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4171, allocations: 55.41 kB / 1.335 GB, free: 5.086 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.4171, allocations: 3.938 kB / 1.335 GB, free: 5.082 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.4545, allocations: 5.578 MB / 1.34 GB, free: 15.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/8.955, allocations: 4.062 kB / 1.34 GB, free: 15.68 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.035718460101634]