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.00136/0.00136, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001549/0.001549, allocations: 212.5 kB / 22.25 MB, free: 5.121 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 8.031 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.252/3.252, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.002015/0.002015, allocations: 71.89 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00331/0.3905, allocations: 1.775 MB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3922, allocations: 0.9514 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.3923, allocations: 3.938 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.3925, allocations: 39.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.3928, allocations: 115.5 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.3932, allocations: 155.7 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.3935, allocations: 243.3 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3936, allocations: 26.08 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3938, allocations: 119.6 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01592/0.4097, allocations: 2.008 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4098, allocations: 16 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.41, allocations: 39.98 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.4101, allocations: 47.77 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.4103, allocations: 87.58 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.4109, allocations: 223.1 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4109, allocations: 0 / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4109, allocations: 0 / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.4109, allocations: 0 / 1.332 GB, free: 12.65 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.001063/0.412, allocations: 496.7 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.412, allocations: 8.031 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.571e-05/0.4121, allocations: 42.73 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.829e-05/0.4122, allocations: 28.8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.4125, allocations: 185.6 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.4125, allocations: 15.92 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.4125, allocations: 16 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.4128, allocations: 112.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4128, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4128, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.4128, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.413, allocations: 55.97 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.414, allocations: 0.5152 MB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.4142, allocations: 93.06 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.4142, allocations: 37.77 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.4143, allocations: 11.88 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.4145, allocations: 117.2 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.4145, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004264/0.4149, allocations: 169.5 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.415, allocations: 81.05 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.4152, allocations: 207.1 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.4153, allocations: 33.7 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.4154, allocations: 128.5 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.4155, allocations: 27.75 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.4156, allocations: 65.8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4157, allocations: 326.8 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.4158, allocations: 31.98 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.4161, allocations: 133.3 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.4162, allocations: 117.9 kB / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4162, allocations: 0 / 1.335 GB, free: 9.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002737/0.4165, allocations: 161.4 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4165, allocations: 8 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4165, allocations: 0 / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4165, allocations: 4 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.4166, allocations: 15.94 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4166, allocations: 8 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.4169, allocations: 31.86 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4169, allocations: 4 kB / 1.335 GB, free: 9.117 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.0001647/0.417, allocations: 151.7 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.4171, allocations: 15.91 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.4171, allocations: 21.45 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4171, allocations: 0 / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4171, allocations: 4 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4171, allocations: 0 / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.4178, allocations: 440.4 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4178, allocations: 4 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.4178, allocations: 7.938 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4178, allocations: 4 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.4179, allocations: 7.938 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4179, allocations: 0 / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4179, allocations: 4 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4181, allocations: 232.2 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.4182, allocations: 15.91 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.4182, allocations: 7.922 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4183, allocations: 15.98 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.4184, allocations: 19.97 kB / 1.336 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.4184, allocations: 4 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001389/0.4186, allocations: 144.5 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4186, allocations: 3.938 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003131/0.4189, allocations: 47.92 kB / 1.336 GB, free: 7.906 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.0009072/0.4198, allocations: 0.8402 MB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.42, allocations: 105 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.42, allocations: 0 / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.4201, allocations: 44.23 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.4206, allocations: 67.83 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.4229, allocations: 1.925 MB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.4233, allocations: 0.7242 MB / 1.339 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.728e-05/0.4234, allocations: 25.61 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4235, allocations: 59.41 kB / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4235, allocations: 0 / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.4579, allocations: 5.748 MB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.52, allocations: 0 / 1.345 GB, free: 14.4 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.583116672998585]