Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001749/0.001749, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002122/0.002122, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.412/3.412, allocations: 0.49 GB / 0.7916 GB, free: 33.12 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.002076/0.002076, allocations: 70.19 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00372/0.3559, allocations: 1.758 MB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.358, allocations: 0.9358 MB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.3582, allocations: 11.94 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.3585, allocations: 23.73 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.359, allocations: 119.4 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.3595, allocations: 157.3 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.36, allocations: 239.3 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3602, allocations: 29.89 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.3604, allocations: 115.7 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/0.3744, allocations: 1.705 MB / 1.326 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.3745, allocations: 20 kB / 1.326 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3746, allocations: 43.92 kB / 1.326 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.3747, allocations: 35.84 kB / 1.326 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.3748, allocations: 87.56 kB / 1.326 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.3753, allocations: 219.1 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3753, allocations: 0 / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3753, allocations: 0 / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3753, allocations: 4 kB / 1.326 GB, free: 14.3 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009265/0.3762, allocations: 0.5603 MB / 1.327 GB, free: 13.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3763, allocations: 11.98 kB / 1.327 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.3763, allocations: 38.75 kB / 1.327 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.3764, allocations: 28.78 kB / 1.327 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.3767, allocations: 247.3 kB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3767, allocations: 16 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.3768, allocations: 16 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.377, allocations: 91.53 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.377, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.377, allocations: 4 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.377, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.3771, allocations: 51.97 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.378, allocations: 472.3 kB / 1.328 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.3785, allocations: 126.7 kB / 1.328 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.065e-05/0.3785, allocations: 40.78 kB / 1.328 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3786, allocations: 4 kB / 1.328 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.3788, allocations: 103.3 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.3788, allocations: 0 / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003787/0.3792, allocations: 176.7 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3793, allocations: 55.41 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.3795, allocations: 198.8 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.3795, allocations: 33.7 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3796, allocations: 120.5 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3797, allocations: 39.72 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3798, allocations: 57.67 kB / 1.329 GB, free: 11.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3799, allocations: 326.8 kB / 1.329 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.38, allocations: 31.98 kB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.3803, allocations: 133.9 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3804, allocations: 104.1 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3805, allocations: 0 / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002691/0.3807, allocations: 156.5 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3807, allocations: 4 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3807, allocations: 4 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3808, allocations: 4 kB / 1.329 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.3808, allocations: 23.92 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3809, allocations: 0 / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.3811, allocations: 32 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.3811, allocations: 8 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001527/0.3813, allocations: 139.5 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.3813, allocations: 19.89 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.3814, allocations: 17.88 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3814, allocations: 0 / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3814, allocations: 0 / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3814, allocations: 8.031 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008/0.3822, allocations: 494.2 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3822, allocations: 0 / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.3822, allocations: 8 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3822, allocations: 0 / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3822, allocations: 7.938 kB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3822, allocations: 0 / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3822, allocations: 3.984 kB / 1.33 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3825, allocations: 239.2 kB / 1.33 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.3826, allocations: 93 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.3826, allocations: 7.938 kB / 1.33 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3827, allocations: 11.98 kB / 1.33 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.3828, allocations: 23.91 kB / 1.33 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.3828, allocations: 12 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001396/0.383, allocations: 140.2 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003317/0.3833, allocations: 51.94 kB / 1.331 GB, free: 9.391 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0009462/0.3843, allocations: 0.8417 MB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3845, allocations: 103.7 kB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3845, allocations: 0 / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3846, allocations: 47.92 kB / 1.332 GB, free: 8.398 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.3851, allocations: 65.84 kB / 1.332 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.3876, allocations: 1.914 MB / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.388, allocations: 0.7203 MB / 1.334 GB, free: 5.574 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.311e-05/0.3881, allocations: 25.53 kB / 1.334 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3882, allocations: 55.41 kB / 1.334 GB, free: 5.496 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3882, allocations: 0 / 1.334 GB, free: 5.496 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.4198, allocations: 5.601 MB / 1.34 GB, free: 72 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.527/8.947, allocations: 6.047 kB / 1.34 GB, free: 68 kB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_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_PlotterActivationGlobalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable plotConfiguration.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable sca.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable sca.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! Error: Could not read variable scaDel.active in file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv. Warning: Get data of variable scaDel.active from file Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.085623756051064]