Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001772/0.001772, 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.002265/0.002265, 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.929/2.929, allocations: 476.8 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.003088/0.003088, allocations: 66.84 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3194, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003652/0.323, allocations: 1.777 MB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.3248, allocations: 0.9436 MB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.325, allocations: 4 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.3252, allocations: 27.73 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.3256, allocations: 123.4 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.3261, allocations: 155.6 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.3264, allocations: 255.3 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3265, allocations: 25.31 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.3267, allocations: 107.7 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01418/0.3409, allocations: 1.714 MB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.341, allocations: 16 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3411, allocations: 36 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.3412, allocations: 39.83 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.3413, allocations: 91.56 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.3417, allocations: 215.1 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3418, allocations: 3.984 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3418, allocations: 0 / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3418, allocations: 4 kB / 1.289 GB, free: 6.648 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.0008677/0.3426, allocations: 0.4928 MB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3427, allocations: 12.03 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.3427, allocations: 34.75 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.3428, allocations: 24.8 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.3431, allocations: 185.6 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3431, allocations: 15.95 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3432, allocations: 12 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.3434, allocations: 89.66 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3434, allocations: 0 / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3434, allocations: 7.984 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3434, allocations: 4 kB / 1.29 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.3435, allocations: 51.91 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008358/0.3443, allocations: 435.5 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.3448, allocations: 130.6 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.3449, allocations: 36.84 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3449, allocations: 3.938 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.3451, allocations: 113.2 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3451, allocations: 0 / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003948/0.3455, allocations: 169.6 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3456, allocations: 59.39 kB / 1.291 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3458, allocations: 197.3 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.3459, allocations: 29.7 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.346, allocations: 136.4 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.346, allocations: 23.81 kB / 1.291 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3461, allocations: 61.67 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3463, allocations: 326.8 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.3464, allocations: 31.98 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.3466, allocations: 135.5 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3468, allocations: 102.9 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3468, allocations: 4 kB / 1.292 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002798/0.3471, allocations: 149.5 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3471, allocations: 4 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3471, allocations: 4 kB / 1.292 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3471, allocations: 0 / 1.292 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.3472, allocations: 15.98 kB / 1.292 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3472, allocations: 4 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3474, allocations: 27.88 kB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.3474, allocations: 8.125 kB / 1.292 GB, free: 3.312 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.0001528/0.3476, allocations: 145.9 kB / 1.292 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.3476, allocations: 19.91 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.3477, allocations: 21.8 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3477, allocations: 4 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.3477, allocations: 3.984 kB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3477, allocations: 0 / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.3484, allocations: 476 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3484, allocations: 0 / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.3484, allocations: 7.875 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3484, allocations: 4 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3485, allocations: 3.938 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3485, allocations: 3.984 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3485, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.3487, allocations: 227.4 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.3488, allocations: 27.78 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3488, allocations: 7.875 kB / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3489, allocations: 15.98 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.349, allocations: 15.97 kB / 1.293 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.349, allocations: 11.98 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001643/0.3492, allocations: 147 kB / 1.293 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3492, allocations: 0 / 1.293 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003248/0.3495, allocations: 40 kB / 1.293 GB, free: 2.082 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.0008632/0.3504, allocations: 0.8412 MB / 1.294 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3506, allocations: 99.78 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3506, allocations: 0 / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.883e-05/0.3507, allocations: 39.98 kB / 1.294 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.3512, allocations: 69.53 kB / 1.294 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.3537, allocations: 1.913 MB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3541, allocations: 0.7203 MB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.3542, allocations: 25.62 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3543, allocations: 67.34 kB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.3543, allocations: 0 / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/0.3929, allocations: 5.805 MB / 1.302 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.83, allocations: 5.578 kB / 1.302 GB, free: 8.559 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.89350912394002]