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.001305/0.001305, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001249/0.001249, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.477/1.477, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.902/2.902, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 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.002407/0.002407, allocations: 67.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248/1.25, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003848/1.254, allocations: 1.762 MB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001691/1.256, allocations: 0.9205 MB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.423e-05/1.256, allocations: 0.6875 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002095/1.256, allocations: 27.02 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004115/1.257, allocations: 121.4 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/1.257, allocations: 151 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003522/1.257, allocations: 243.2 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/1.258, allocations: 29.11 kB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/1.258, allocations: 114.2 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01603/1.274, allocations: 2.041 MB / 1.277 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/1.274, allocations: 17.94 kB / 1.277 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/1.274, allocations: 39.06 kB / 1.277 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/1.274, allocations: 46.73 kB / 1.277 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/1.274, allocations: 82.72 kB / 1.277 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004709/1.275, allocations: 219.1 kB / 1.277 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.275, allocations: 1.25 kB / 1.277 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.575e-06/1.275, allocations: 0 / 1.277 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.275, allocations: 0 / 1.277 GB, free: 4.824 MB / 0.9981 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.0008932/1.276, allocations: 0.5622 MB / 1.278 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.276, allocations: 9.562 kB / 1.278 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/1.276, allocations: 44.7 kB / 1.278 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/1.276, allocations: 21.16 kB / 1.278 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/1.276, allocations: 244.4 kB / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.276, allocations: 6.594 kB / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/1.276, allocations: 14.97 kB / 1.278 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/1.277, allocations: 97.2 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.277, allocations: 0.9688 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/1.277, allocations: 7.516 kB / 1.278 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/1.277, allocations: 1.656 kB / 1.278 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/1.277, allocations: 48.89 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000892/1.278, allocations: 468.1 kB / 1.279 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/1.278, allocations: 125.9 kB / 1.279 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/1.278, allocations: 37.06 kB / 1.279 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/1.278, allocations: 5.031 kB / 1.279 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/1.279, allocations: 116.5 kB / 1.279 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/1.279, allocations: 0 / 1.279 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004442/1.279, allocations: 162.6 kB / 1.279 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.279, allocations: 55.3 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/1.279, allocations: 199.6 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/1.279, allocations: 34.92 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/1.279, allocations: 128.8 kB / 1.279 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/1.279, allocations: 37.25 kB / 1.279 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.28, allocations: 59.17 kB / 1.28 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/1.28, allocations: 328.8 kB / 1.28 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/1.28, allocations: 30.45 kB / 1.28 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/1.28, allocations: 129.4 kB / 1.28 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/1.28, allocations: 102.2 kB / 1.28 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.28, allocations: 0 / 1.28 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003089/1.28, allocations: 160.6 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.281, allocations: 6.969 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.281, allocations: 1.031 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.281, allocations: 1.625 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/1.281, allocations: 17.67 kB / 1.28 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/1.281, allocations: 2.922 kB / 1.28 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/1.281, allocations: 29 kB / 1.28 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/1.281, allocations: 6.094 kB / 1.28 GB, free: 2.355 MB / 0.9981 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.0001288/1.281, allocations: 150.8 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/1.281, allocations: 20.5 kB / 1.28 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/1.281, allocations: 19.5 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.281, allocations: 1.938 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/1.281, allocations: 0 / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.281, allocations: 2.328 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/1.282, allocations: 497.7 kB / 1.281 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.282, allocations: 4.938 kB / 1.281 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/1.282, allocations: 4.812 kB / 1.281 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.282, allocations: 1.891 kB / 1.281 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/1.282, allocations: 6.188 kB / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.282, allocations: 0 / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.282, allocations: 0.5312 kB / 1.281 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/1.282, allocations: 232.8 kB / 1.281 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/1.282, allocations: 94.78 kB / 1.281 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/1.282, allocations: 9.906 kB / 1.281 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.282, allocations: 15.77 kB / 1.281 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/1.282, allocations: 19.95 kB / 1.281 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/1.282, allocations: 7.266 kB / 1.281 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001172/1.283, allocations: 145.7 kB / 1.282 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.283, allocations: 0 / 1.282 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003151/1.283, allocations: 52.73 kB / 1.282 GB, free: 1.395 MB / 0.9981 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.0007291/1.284, allocations: 0.8331 MB / 1.282 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002497/1.284, allocations: 104.1 kB / 1.282 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.284, allocations: 0 / 1.282 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/1.284, allocations: 52.97 kB / 1.283 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/1.284, allocations: 62.56 kB / 1.283 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/1.287, allocations: 1.893 MB / 1.284 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.287, allocations: 0.7203 MB / 1.285 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.911e-05/1.287, allocations: 22.28 kB / 1.285 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/1.287, allocations: 55.45 kB / 1.285 GB, free: 14.37 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.287, allocations: 0 / 1.285 GB, free: 14.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/1.321, allocations: 5.615 MB / 1.291 GB, free: 13.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/9.536, allocations: 1.25 kB / 1.291 GB, free: 13.62 MB / 1.014 GB " [Timeout remaining time 290] (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 --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.943357876007212]