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.001434/0.001434, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001578/0.001578, allocations: 216.8 kB / 22.25 MB, free: 5.105 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.809 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.272/3.272, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.002106/0.002106, allocations: 62.84 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003887/0.3725, allocations: 1.731 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3743, allocations: 0.9085 MB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.3744, allocations: 4 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.3746, allocations: 27.73 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.3751, allocations: 127.4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.3755, allocations: 149.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.3758, allocations: 243.3 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.376, allocations: 41.92 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3761, allocations: 103.8 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01648/0.3926, allocations: 2.003 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.3927, allocations: 16 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.3929, allocations: 36 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.393, allocations: 39.89 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.3932, allocations: 87.61 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.3938, allocations: 219.1 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3938, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.108e-06/0.3938, allocations: 3.984 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3938, allocations: 0 / 1.331 GB, free: 12.27 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.001164/0.395, allocations: 488.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.395, allocations: 8.031 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.3951, allocations: 42.75 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.3952, allocations: 32.78 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.3955, allocations: 189.5 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3956, allocations: 12 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.3956, allocations: 11.98 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.3959, allocations: 117.1 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3959, allocations: 3.938 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3959, allocations: 8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3959, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.396, allocations: 47.97 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.397, allocations: 495.7 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3972, allocations: 97.19 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.3973, allocations: 33.78 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.3973, allocations: 11.92 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.3976, allocations: 115.9 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.3976, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004004/0.398, allocations: 165.5 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.3981, allocations: 77.11 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.3983, allocations: 215 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.3983, allocations: 37.64 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3984, allocations: 120.5 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.3985, allocations: 35.73 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3986, allocations: 57.67 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3987, allocations: 330.8 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.3988, allocations: 27.98 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.3991, allocations: 257 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3993, allocations: 111.2 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3993, allocations: 0 / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002813/0.3996, allocations: 153.4 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3996, allocations: 14.19 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3996, allocations: 0 / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3996, allocations: 7.984 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.3997, allocations: 19.94 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3997, allocations: 4 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.3999, allocations: 23.88 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4, allocations: 11.98 kB / 1.335 GB, free: 8.633 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.4001, allocations: 143.5 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.4002, allocations: 15.91 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.4002, allocations: 25.45 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4002, allocations: 3.938 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.4002, allocations: 4.094 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4002, allocations: 3.984 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.4009, allocations: 422.9 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4009, allocations: 0 / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.4009, allocations: 4 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4009, allocations: 0 / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.4009, allocations: 7.938 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4009, allocations: 4 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4009, allocations: 8 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.4012, allocations: 236.1 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.4012, allocations: 11.91 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.4013, allocations: 11.92 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4014, allocations: 15.98 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.4015, allocations: 15.97 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.4015, allocations: 8 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001398/0.4016, allocations: 144.5 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4016, allocations: 0 / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003164/0.4019, allocations: 43.94 kB / 1.336 GB, free: 7.441 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.0009294/0.4029, allocations: 0.8518 MB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.4031, allocations: 99.22 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4031, allocations: 0 / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.4032, allocations: 47.91 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.4037, allocations: 50.3 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.4061, allocations: 1.932 MB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.4062, allocations: 108.1 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.4063, allocations: 29.61 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.4064, allocations: 55.42 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4064, allocations: 0 / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.4431, allocations: 6.452 MB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.72, allocations: 2.031 kB / 1.345 GB, free: 13.89 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.72716169600608]