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.001536/0.001536, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001654/0.001654, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.812 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.346/3.346, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.00216/0.00216, allocations: 63.89 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3463, allocations: 176.1 MB / 1.325 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.004281/0.3506, allocations: 1.729 MB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.3527, allocations: 0.9049 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.3528, allocations: 3.938 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.353, allocations: 27.55 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005911/0.3536, allocations: 123.4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.3543, allocations: 152.9 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.3548, allocations: 251.4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.355, allocations: 33.92 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.3553, allocations: 115.6 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01411/0.3694, allocations: 1.69 MB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.521e-05/0.3695, allocations: 20 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.3697, allocations: 36 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.3698, allocations: 47.77 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.3699, allocations: 79.61 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.3703, allocations: 219.2 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3704, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3704, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3704, allocations: 7.938 kB / 1.33 GB, free: 13.43 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.000958/0.3713, allocations: 492.7 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3714, allocations: 8.031 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.826e-05/0.3714, allocations: 38.75 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.3715, allocations: 20.8 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.3718, allocations: 189.5 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.3718, allocations: 16 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.3719, allocations: 16 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3721, allocations: 95.53 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3721, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.3721, allocations: 7.984 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3721, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3722, allocations: 51.97 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.3731, allocations: 399.5 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.3735, allocations: 130.7 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.3736, allocations: 36.84 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3736, allocations: 3.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.3739, allocations: 107.3 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3739, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003599/0.3743, allocations: 169.6 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.3743, allocations: 59.41 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.3745, allocations: 199.1 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.3746, allocations: 33.7 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3747, allocations: 132.4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.3747, allocations: 31.73 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3748, allocations: 61.67 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.375, allocations: 322.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.3751, allocations: 35.98 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.3754, allocations: 236.1 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3756, allocations: 104.2 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3756, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000272/0.3758, allocations: 160.1 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3758, allocations: 8 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3759, allocations: 0 / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3759, allocations: 4 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.3759, allocations: 11.94 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3759, allocations: 12.11 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.3762, allocations: 23.92 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3762, allocations: 4 kB / 1.333 GB, free: 10.01 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.0001674/0.3763, allocations: 146.6 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3764, allocations: 19.86 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.3764, allocations: 21.8 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3764, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3764, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3764, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.3772, allocations: 456.1 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.3772, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.3772, allocations: 7.984 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3772, allocations: 48 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.3772, allocations: 15.92 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.3772, allocations: 7.984 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3772, allocations: 0 / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.3775, allocations: 235.2 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.3775, allocations: 15.91 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.3776, allocations: 11.94 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3777, allocations: 15.97 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.3778, allocations: 23.84 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.3778, allocations: 11.94 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001575/0.378, allocations: 140.5 kB / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.378, allocations: 0 / 1.334 GB, free: 8.824 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003103/0.3783, allocations: 44 kB / 1.335 GB, free: 8.781 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.0009534/0.3792, allocations: 0.8314 MB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.3795, allocations: 99.89 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3795, allocations: 0 / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.455e-05/0.3796, allocations: 47.92 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.38, allocations: 72.69 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.3825, allocations: 1.909 MB / 1.337 GB, free: 5.727 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3826, allocations: 112.3 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.068e-05/0.3827, allocations: 25.61 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3828, allocations: 55.41 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3828, allocations: 4 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04054/0.4233, allocations: 6.481 MB / 1.344 GB, free: 15.24 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.32, allocations: 5.531 kB / 1.344 GB, free: 15.23 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.402895152103156]