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.001325/0.001325, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001516/0.001516, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.797 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.3/3.3, allocations: 0.49 GB / 0.7951 GB, free: 35.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.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.002049/0.002049, allocations: 70.59 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3795, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003314/0.3829, allocations: 1.732 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3847, allocations: 0.9086 MB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.3848, allocations: 0 / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.385, allocations: 27.73 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.3854, allocations: 123.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.3858, allocations: 163.6 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.3861, allocations: 239.4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.3863, allocations: 33.92 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3865, allocations: 119.6 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01669/0.4031, allocations: 2.034 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.638e-05/0.4032, allocations: 24 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.4034, allocations: 36 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.836e-05/0.4035, allocations: 43.83 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.4036, allocations: 71.69 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.4041, allocations: 223.1 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4041, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4041, allocations: 0 / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4041, allocations: 0 / 1.331 GB, free: 12.27 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.0009547/0.405, allocations: 492.7 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4051, allocations: 12.03 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.4051, allocations: 34.75 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.4052, allocations: 24.8 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.4056, allocations: 193.5 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4056, allocations: 12 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.4056, allocations: 19.92 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.4058, allocations: 91.38 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4059, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4059, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4059, allocations: 11.98 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.406, allocations: 51.92 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.4069, allocations: 399.6 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.4074, allocations: 130.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/0.4074, allocations: 28.86 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4075, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.4077, allocations: 107.3 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.4077, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004133/0.4081, allocations: 172.4 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4082, allocations: 55.41 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.4084, allocations: 199.1 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.4084, allocations: 33.7 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4085, allocations: 120.5 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.4086, allocations: 43.72 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4087, allocations: 53.67 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4089, allocations: 330.8 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.4089, allocations: 31.98 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.4093, allocations: 247.8 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.4094, allocations: 99.67 kB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4094, allocations: 0 / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002772/0.4097, allocations: 161.4 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4097, allocations: 4 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4097, allocations: 4 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4098, allocations: 3.938 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.4098, allocations: 15.94 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4098, allocations: 4 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.4101, allocations: 31.91 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.4101, allocations: 4.125 kB / 1.335 GB, free: 8.836 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.0001633/0.4102, allocations: 143.5 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.4103, allocations: 19.86 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.4103, allocations: 21.8 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4103, allocations: 4 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4103, allocations: 0 / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4103, allocations: 0 / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/0.4111, allocations: 449.3 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4111, allocations: 4 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.722e-05/0.4111, allocations: 7.984 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4111, allocations: 4.031 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.4111, allocations: 3.938 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4111, allocations: 7.938 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4111, allocations: 0 / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.4114, allocations: 235.3 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.4114, allocations: 11.91 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.4115, allocations: 7.938 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.4116, allocations: 11.98 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.4117, allocations: 31.89 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.4117, allocations: 8 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000136/0.4118, allocations: 140.5 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4118, allocations: 0 / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003176/0.4122, allocations: 40 kB / 1.336 GB, free: 7.625 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.0009259/0.4131, allocations: 0.8503 MB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4133, allocations: 98.81 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4133, allocations: 0 / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4134, allocations: 51.91 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.4139, allocations: 62.75 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.4162, allocations: 1.88 MB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.4163, allocations: 116.1 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.64e-05/0.4164, allocations: 29.55 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4165, allocations: 59.41 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of SimCode: time 7.42e-07/0.4165, allocations: 0 / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.4528, allocations: 6.504 MB / 1.345 GB, free: 14.06 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.89, allocations: 4 kB / 1.345 GB, free: 14.06 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.61843638299615]