Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 111.5 kB / 16.41 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 222.9 MB / 245.1 MB, free: 4.348 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 469.8 MB / 0.7491 GB, free: 7.156 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.89 kB / 1.073 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3862, allocations: 159.1 MB / 1.229 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004/0.3903, allocations: 1.745 MB / 1.23 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3921, allocations: 0.889 MB / 1.231 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.858e-05/0.3923, allocations: 11.94 kB / 1.231 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.3925, allocations: 27.72 kB / 1.231 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.3929, allocations: 119.4 kB / 1.231 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.3934, allocations: 155 kB / 1.232 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.3938, allocations: 239.4 kB / 1.232 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.394, allocations: 29.97 kB / 1.232 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.3941, allocations: 115.6 kB / 1.232 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01603/0.4102, allocations: 2.033 MB / 1.234 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.935e-05/0.4103, allocations: 20 kB / 1.234 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.4105, allocations: 39.98 kB / 1.234 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.4106, allocations: 39.78 kB / 1.234 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.4107, allocations: 99.48 kB / 1.234 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.4112, allocations: 211.2 kB / 1.234 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.485e-06/0.4112, allocations: 0 / 1.234 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4112, allocations: 0 / 1.234 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.4112, allocations: 0 / 1.234 GB, free: 7.109 MB / 0.9825 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.00101/0.4123, allocations: 0.5642 MB / 1.235 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4123, allocations: 8.031 kB / 1.235 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.4124, allocations: 46.73 kB / 1.235 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.4125, allocations: 20.84 kB / 1.235 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.4128, allocations: 239.4 kB / 1.235 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.4128, allocations: 15.98 kB / 1.235 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.4129, allocations: 20 kB / 1.235 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4131, allocations: 85.59 kB / 1.235 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4131, allocations: 0 / 1.235 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4131, allocations: 8 kB / 1.235 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4132, allocations: 0 / 1.235 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.4133, allocations: 55.92 kB / 1.235 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.4142, allocations: 468.4 kB / 1.236 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.4146, allocations: 126.7 kB / 1.236 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.4147, allocations: 44.78 kB / 1.236 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.4147, allocations: 7.938 kB / 1.236 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.4151, allocations: 107.4 kB / 1.236 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.4151, allocations: 0 / 1.236 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.000401/0.4155, allocations: 165.5 kB / 1.236 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.4156, allocations: 55.41 kB / 1.236 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.4158, allocations: 196.3 kB / 1.236 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.4159, allocations: 41.69 kB / 1.236 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.416, allocations: 120.5 kB / 1.237 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.416, allocations: 39.69 kB / 1.237 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.4162, allocations: 61.67 kB / 1.237 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4164, allocations: 330.8 kB / 1.237 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.4165, allocations: 27.98 kB / 1.237 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.4167, allocations: 134.2 kB / 1.237 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4169, allocations: 102.2 kB / 1.237 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4169, allocations: 0 / 1.237 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002948/0.4172, allocations: 153.5 kB / 1.237 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4173, allocations: 4 kB / 1.237 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4173, allocations: 0 / 1.237 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.4173, allocations: 7.938 kB / 1.237 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.4174, allocations: 19.92 kB / 1.237 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4174, allocations: 0 / 1.237 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.4176, allocations: 27.88 kB / 1.237 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.4176, allocations: 8.125 kB / 1.237 GB, free: 3.559 MB / 0.9825 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.0001747/0.4178, allocations: 148.1 kB / 1.238 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.4179, allocations: 15.91 kB / 1.238 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.4179, allocations: 21.86 kB / 1.238 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4179, allocations: 3.938 kB / 1.238 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4179, allocations: 0 / 1.238 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4179, allocations: 0 / 1.238 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007736/0.4187, allocations: 0.4935 MB / 1.238 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4187, allocations: 3.938 kB / 1.238 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.4188, allocations: 11.98 kB / 1.238 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4188, allocations: 0 / 1.238 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4188, allocations: 7.938 kB / 1.238 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4188, allocations: 0 / 1.238 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4188, allocations: 0 / 1.238 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.4191, allocations: 231.4 kB / 1.238 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.4192, allocations: 96.95 kB / 1.238 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4192, allocations: 3.938 kB / 1.238 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.4194, allocations: 15.98 kB / 1.238 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.4194, allocations: 19.97 kB / 1.238 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.4195, allocations: 11.98 kB / 1.238 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001576/0.4196, allocations: 140.2 kB / 1.239 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4196, allocations: 0 / 1.239 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003081/0.42, allocations: 51.88 kB / 1.239 GB, free: 2.195 MB / 0.9825 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.001081/0.421, allocations: 0.8523 MB / 1.239 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.4213, allocations: 106.8 kB / 1.24 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4214, allocations: 0 / 1.24 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.4215, allocations: 51.92 kB / 1.24 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.4219, allocations: 54.17 kB / 1.24 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.4244, allocations: 1.879 MB / 1.242 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.4249, allocations: 0.7203 MB / 1.242 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.425, allocations: 25.48 kB / 1.242 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.4251, allocations: 59.41 kB / 1.242 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.4252, allocations: 0 / 1.242 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.4576, allocations: 5.611 MB / 1.248 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/8.94, allocations: 10.42 kB / 1.248 GB, free: 8.898 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.766966033959761]