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.00187/0.00187, allocations: 111 kB / 16.46 MB, free: 6.453 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.002105/0.002105, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.548/1.548, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.305/3.305, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.00211/0.00211, allocations: 67.77 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3788, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003804/0.3826, allocations: 1.766 MB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3845, allocations: 0.9397 MB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.3845, allocations: 4 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3848, allocations: 23.73 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.3852, allocations: 123.4 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.3855, allocations: 157.3 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3859, allocations: 239.4 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.386, allocations: 37.89 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3862, allocations: 119.6 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01593/0.4021, allocations: 1.987 MB / 1.326 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.959e-05/0.4022, allocations: 23.94 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.4023, allocations: 40 kB / 1.326 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.439e-05/0.4024, allocations: 39.83 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.4025, allocations: 87.56 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.403, allocations: 223.1 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.403, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.403, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.403, allocations: 0 / 1.326 GB, free: 14.08 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.001103/0.4041, allocations: 0.5565 MB / 1.327 GB, free: 13.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.306e-05/0.4042, allocations: 11.98 kB / 1.327 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.4043, allocations: 46.73 kB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.335e-05/0.4044, allocations: 24.8 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.4048, allocations: 251.3 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.4049, allocations: 8 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.4049, allocations: 12 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.4052, allocations: 117.2 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4052, allocations: 0 / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.4053, allocations: 8 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4053, allocations: 7.938 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.4054, allocations: 55.81 kB / 1.328 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.4066, allocations: 0.5512 MB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.4068, allocations: 89.11 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.4069, allocations: 37.97 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.4069, allocations: 15.86 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/0.4073, allocations: 113.1 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.4073, allocations: 0 / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004318/0.4077, allocations: 165.5 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.4078, allocations: 81.11 kB / 1.329 GB, free: 11.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.4081, allocations: 202.8 kB / 1.329 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.4081, allocations: 33.7 kB / 1.329 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4082, allocations: 124.5 kB / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.4083, allocations: 35.72 kB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.4084, allocations: 61.67 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.4086, allocations: 326.8 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.4087, allocations: 27.98 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.409, allocations: 147.7 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.4092, allocations: 117.8 kB / 1.33 GB, free: 10.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4092, allocations: 0 / 1.33 GB, free: 10.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002874/0.4094, allocations: 161.3 kB / 1.33 GB, free: 10.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4095, allocations: 4 kB / 1.33 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4095, allocations: 4 kB / 1.33 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4095, allocations: 0 / 1.33 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4096, allocations: 16 kB / 1.33 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.4096, allocations: 8.094 kB / 1.33 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.4099, allocations: 31.86 kB / 1.33 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.4099, allocations: 8 kB / 1.33 GB, free: 10.33 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.0001792/0.41, allocations: 135.5 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.4101, allocations: 15.91 kB / 1.33 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.4101, allocations: 21.52 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4102, allocations: 7.938 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4102, allocations: 3.938 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4102, allocations: 4 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.4109, allocations: 462.3 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4109, allocations: 3.938 kB / 1.33 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.4109, allocations: 4 kB / 1.33 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.411, allocations: 0 / 1.33 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.411, allocations: 11.94 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.411, allocations: 3.984 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.411, allocations: 3.938 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.4113, allocations: 243.6 kB / 1.331 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.4114, allocations: 93 kB / 1.331 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.4114, allocations: 7.938 kB / 1.331 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4115, allocations: 11.98 kB / 1.331 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.4116, allocations: 24.05 kB / 1.331 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.4117, allocations: 12 kB / 1.331 GB, free: 9.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001592/0.4118, allocations: 148.2 kB / 1.331 GB, free: 9.031 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4118, allocations: 0 / 1.331 GB, free: 9.031 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000358/0.4122, allocations: 39.94 kB / 1.331 GB, free: 8.992 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.001132/0.4133, allocations: 0.832 MB / 1.332 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4136, allocations: 95.91 kB / 1.332 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4136, allocations: 0 / 1.332 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.4137, allocations: 43.92 kB / 1.332 GB, free: 8.016 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.4142, allocations: 56.3 kB / 1.332 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.4168, allocations: 1.933 MB / 1.334 GB, free: 5.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.4172, allocations: 0.7242 MB / 1.335 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.593e-05/0.4173, allocations: 29.52 kB / 1.335 GB, free: 5.133 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.4174, allocations: 55.42 kB / 1.335 GB, free: 5.078 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4174, allocations: 0 / 1.335 GB, free: 5.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.45, allocations: 5.568 MB / 1.34 GB, free: 15.69 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.701, allocations: 9.797 kB / 1.34 GB, free: 15.68 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.581259346101433]