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.001387/0.001387, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001542/0.001542, allocations: 215.6 kB / 22.25 MB, free: 5.254 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.781 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.281/3.281, allocations: 0.4892 GB / 0.7943 GB, free: 35.69 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.002111/0.002111, allocations: 62.69 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3988, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003534/0.4023, allocations: 1.729 MB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.4039, allocations: 0.9008 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.404, allocations: 7.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.4042, allocations: 35.7 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.4046, allocations: 123.4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.4049, allocations: 154.2 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.4052, allocations: 239.4 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.4054, allocations: 30.02 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.4055, allocations: 115.6 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01574/0.4212, allocations: 1.992 MB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.032e-05/0.4213, allocations: 19.94 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.4215, allocations: 39.98 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.4215, allocations: 43.83 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.4217, allocations: 79.64 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.4221, allocations: 219.1 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4221, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4221, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.4221, allocations: 4 kB / 1.331 GB, free: 13.16 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.0009552/0.4231, allocations: 492.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4231, allocations: 12.03 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.554e-05/0.4232, allocations: 38.75 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.4233, allocations: 28.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.4236, allocations: 193.5 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.4236, allocations: 8 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.4236, allocations: 12 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.4239, allocations: 117.4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4239, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4239, allocations: 8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4239, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.424, allocations: 55.91 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.4249, allocations: 491.7 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.4251, allocations: 93.14 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.4252, allocations: 33.95 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.4252, allocations: 11.88 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.4255, allocations: 117.1 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.4255, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003892/0.4259, allocations: 165.5 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.4259, allocations: 81.11 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.4262, allocations: 207.1 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.4262, allocations: 37.64 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4263, allocations: 124.4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.4264, allocations: 35.73 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4265, allocations: 61.67 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4267, allocations: 326.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.952e-05/0.4267, allocations: 27.98 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.4271, allocations: 260.8 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.4272, allocations: 105.9 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4272, allocations: 0 / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002963/0.4275, allocations: 161.3 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4276, allocations: 7.125 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4276, allocations: 4 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4276, allocations: 4 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.4277, allocations: 16.08 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4277, allocations: 7.938 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.4279, allocations: 27.88 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.4279, allocations: 11.98 kB / 1.334 GB, free: 9.523 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.0001477/0.4281, allocations: 139.5 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.4281, allocations: 15.91 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.4282, allocations: 29.45 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4282, allocations: 4 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4282, allocations: 3.938 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4282, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.4288, allocations: 416 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4288, allocations: 7.922 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.4289, allocations: 4 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4289, allocations: 0 / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4289, allocations: 3.938 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4289, allocations: 4 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4289, allocations: 4 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.4291, allocations: 240 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.4292, allocations: 19.91 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.4292, allocations: 3.938 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4293, allocations: 19.97 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.4294, allocations: 19.97 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.4294, allocations: 8 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001485/0.4296, allocations: 140.5 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4296, allocations: 0 / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003191/0.4299, allocations: 51.94 kB / 1.335 GB, free: 8.328 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.000877/0.4308, allocations: 0.8479 MB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.431, allocations: 91.91 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.431, allocations: 4 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.473e-05/0.4311, allocations: 45.92 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.4315, allocations: 54.98 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.4339, allocations: 1.921 MB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.4341, allocations: 116.1 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.4342, allocations: 29.61 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.4343, allocations: 55.42 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4343, allocations: 0 / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/0.4727, allocations: 6.422 MB / 1.344 GB, free: 14.81 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.99, allocations: 1.875 kB / 1.344 GB, free: 14.81 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: 19.21143060736358]