Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001771/0.001771, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001918/0.001918, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 8.055 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.224/3.224, allocations: 0.49 GB / 0.7951 GB, free: 33.48 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.002607/0.002607, allocations: 64.81 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3802, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003393/0.3836, allocations: 1.768 MB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3853, allocations: 0.9592 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.3854, allocations: 3.938 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.3856, allocations: 35.72 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.386, allocations: 119.5 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.3864, allocations: 152.7 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000342/0.3867, allocations: 243.3 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3868, allocations: 30 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.387, allocations: 111.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01712/0.4041, allocations: 2.047 MB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.4042, allocations: 16 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.4044, allocations: 40 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4045, allocations: 35.84 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.4047, allocations: 103.5 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006183/0.4053, allocations: 215.2 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4054, allocations: 0 / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4054, allocations: 0 / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.4054, allocations: 0 / 1.332 GB, free: 12.65 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.001217/0.4066, allocations: 498 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.4066, allocations: 8.031 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.689e-05/0.4067, allocations: 42.75 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.4068, allocations: 28.78 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.4072, allocations: 181.6 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.4072, allocations: 12 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.4073, allocations: 16 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.4076, allocations: 89.59 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4076, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4077, allocations: 7.984 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4077, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.4078, allocations: 51.97 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.4087, allocations: 431.5 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.4092, allocations: 138.7 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.4093, allocations: 32.84 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.4093, allocations: 7.984 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.4095, allocations: 107.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.4095, allocations: 7.938 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004328/0.41, allocations: 168.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.41, allocations: 59.39 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.4103, allocations: 199.1 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.4103, allocations: 37.69 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4104, allocations: 116.5 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.4105, allocations: 39.73 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.4106, allocations: 57.61 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4108, allocations: 334.8 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.4109, allocations: 35.97 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.4111, allocations: 125.9 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.4113, allocations: 102.6 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4113, allocations: 4 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002762/0.4116, allocations: 149.4 kB / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4116, allocations: 8 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4116, allocations: 0 / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4116, allocations: 4 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.4117, allocations: 28.05 kB / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4117, allocations: 0 / 1.335 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.4119, allocations: 27.88 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4119, allocations: 8 kB / 1.335 GB, free: 9.301 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.0001516/0.4121, allocations: 139.5 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.4121, allocations: 15.91 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.4122, allocations: 21.8 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4122, allocations: 0 / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4122, allocations: 4 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4122, allocations: 3.938 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.4129, allocations: 461.3 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4129, allocations: 0 / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.4129, allocations: 8 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4129, allocations: 0 / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4129, allocations: 11.92 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4129, allocations: 4 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4129, allocations: 0 / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.4132, allocations: 227.3 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.4133, allocations: 19.89 kB / 1.336 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.4133, allocations: 11.88 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4134, allocations: 15.92 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.4135, allocations: 27.91 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.4135, allocations: 11.98 kB / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001521/0.4137, allocations: 140.5 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4137, allocations: 3.938 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003554/0.414, allocations: 44 kB / 1.336 GB, free: 8.074 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.001009/0.415, allocations: 0.8385 MB / 1.337 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.4153, allocations: 95.84 kB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4153, allocations: 0 / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.4154, allocations: 51.92 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.4158, allocations: 51.64 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.4182, allocations: 1.889 MB / 1.339 GB, free: 5.051 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4186, allocations: 0.7242 MB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.482e-05/0.4187, allocations: 25.61 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4188, allocations: 55.42 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.4188, allocations: 0 / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.4569, allocations: 5.806 MB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.08, allocations: 14.06 kB / 1.345 GB, free: 14.57 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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: 18.776109839091077]