Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001846/0.001846, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002311/0.002311, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.267/3.267, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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.PlotterActivationLocalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.002027/0.002027, allocations: 76.78 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3723, allocations: 176.1 MB / 1.321 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003497/0.3758, allocations: 1.758 MB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.3777, allocations: 0.9397 MB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.3778, allocations: 3.938 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.378, allocations: 27.72 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.3784, allocations: 119.4 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3788, allocations: 151.7 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.3791, allocations: 243.3 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3793, allocations: 33.95 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.3794, allocations: 115.8 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01306/0.3925, allocations: 1.662 MB / 1.326 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/0.3926, allocations: 16 kB / 1.326 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3927, allocations: 47.86 kB / 1.326 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.3928, allocations: 35.78 kB / 1.326 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.393, allocations: 91.56 kB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.3934, allocations: 223.1 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3934, allocations: 0 / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3934, allocations: 0 / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3934, allocations: 0 / 1.326 GB, free: 14.26 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.0009114/0.3943, allocations: 0.5603 MB / 1.327 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3943, allocations: 11.98 kB / 1.327 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.3944, allocations: 46.75 kB / 1.327 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.3945, allocations: 24.8 kB / 1.327 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.3948, allocations: 251.3 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3949, allocations: 8 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.3949, allocations: 15.94 kB / 1.327 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.3951, allocations: 111.4 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3951, allocations: 0 / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.3951, allocations: 7.984 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3951, allocations: 4 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.3953, allocations: 55.88 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.3962, allocations: 0.5396 MB / 1.328 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3964, allocations: 105 kB / 1.328 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.3964, allocations: 37.77 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3965, allocations: 3.938 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.3967, allocations: 127.6 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3967, allocations: 0 / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003616/0.3971, allocations: 161.5 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.3972, allocations: 81.11 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.3974, allocations: 202.7 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3975, allocations: 29.7 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3976, allocations: 128.5 kB / 1.329 GB, free: 11.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.3976, allocations: 31.73 kB / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3977, allocations: 65.8 kB / 1.329 GB, free: 11.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3979, allocations: 326.8 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.398, allocations: 27.98 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.3983, allocations: 141.3 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.3985, allocations: 113.9 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3985, allocations: 0 / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002802/0.3987, allocations: 161.4 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3988, allocations: 4 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3988, allocations: 4.094 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3988, allocations: 3.984 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.3989, allocations: 15.94 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3989, allocations: 7.984 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.3992, allocations: 27.88 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3992, allocations: 8 kB / 1.329 GB, free: 10.51 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.0001421/0.3993, allocations: 145.4 kB / 1.33 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.3994, allocations: 15.91 kB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.3994, allocations: 21.52 kB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3994, allocations: 4 kB / 1.33 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3994, allocations: 3.938 kB / 1.33 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3994, allocations: 0 / 1.33 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.4001, allocations: 478.1 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4001, allocations: 0 / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.4001, allocations: 7.938 kB / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4001, allocations: 0 / 1.33 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.4002, allocations: 11.92 kB / 1.33 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4002, allocations: 4 kB / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4002, allocations: 0 / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.4004, allocations: 228.2 kB / 1.33 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.4005, allocations: 97 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.4005, allocations: 7.938 kB / 1.33 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4007, allocations: 15.98 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.4007, allocations: 19.97 kB / 1.33 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.4008, allocations: 8 kB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001366/0.4009, allocations: 144.2 kB / 1.331 GB, free: 9.223 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4009, allocations: 4 kB / 1.331 GB, free: 9.219 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003147/0.4012, allocations: 39.94 kB / 1.331 GB, free: 9.18 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.0009076/0.4021, allocations: 0.8464 MB / 1.331 GB, free: 8.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.4024, allocations: 95.84 kB / 1.332 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4024, allocations: 3.938 kB / 1.332 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.4025, allocations: 52.22 kB / 1.332 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.4029, allocations: 55.5 kB / 1.332 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.4054, allocations: 1.944 MB / 1.334 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4058, allocations: 0.7281 MB / 1.334 GB, free: 5.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.834e-05/0.4059, allocations: 21.53 kB / 1.334 GB, free: 5.289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.406, allocations: 55.41 kB / 1.334 GB, free: 5.234 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.406, allocations: 0 / 1.334 GB, free: 5.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.4374, allocations: 5.566 MB / 1.34 GB, free: 15.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.683, allocations: 2.188 kB / 1.34 GB, free: 15.84 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.510905149858445]