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.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.001364/0.001364, allocations: 102.7 kB / 16.45 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.001435/0.001435, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 3.723 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.938/2.938, allocations: 476.7 MB / 0.7611 GB, free: 15.71 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.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: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 1.104 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003275/1.085, allocations: 1.752 MB / 1.27 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001609/1.086, allocations: 0.9049 MB / 1.271 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/1.086, allocations: 5.5 kB / 1.271 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002152/1.087, allocations: 30.27 kB / 1.271 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004411/1.087, allocations: 122.4 kB / 1.271 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/1.088, allocations: 156.5 kB / 1.272 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/1.088, allocations: 235.2 kB / 1.272 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/1.088, allocations: 25.53 kB / 1.272 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/1.088, allocations: 119.7 kB / 1.272 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/1.102, allocations: 1.715 MB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/1.102, allocations: 17.69 kB / 1.274 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/1.102, allocations: 42.89 kB / 1.274 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/1.102, allocations: 38.64 kB / 1.274 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/1.102, allocations: 87.58 kB / 1.274 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004644/1.103, allocations: 223 kB / 1.274 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.103, allocations: 0 / 1.274 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/1.103, allocations: 0.9375 kB / 1.274 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.103, allocations: 4 kB / 1.274 GB, free: 4.949 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.0008612/1.104, allocations: 0.5498 MB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.104, allocations: 9.406 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/1.104, allocations: 40.55 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/1.104, allocations: 24.83 kB / 1.275 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/1.104, allocations: 245.5 kB / 1.275 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/1.104, allocations: 16.58 kB / 1.275 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/1.104, allocations: 13.72 kB / 1.275 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/1.104, allocations: 92.23 kB / 1.275 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.104, allocations: 0 / 1.275 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/1.104, allocations: 8.188 kB / 1.275 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/1.104, allocations: 5.938 kB / 1.275 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/1.104, allocations: 54.3 kB / 1.275 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/1.105, allocations: 460.5 kB / 1.275 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/1.106, allocations: 131.4 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/1.106, allocations: 35.53 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/1.106, allocations: 1.031 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/1.106, allocations: 113.7 kB / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/1.106, allocations: 0 / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004446/1.107, allocations: 163.8 kB / 1.276 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/1.107, allocations: 55.77 kB / 1.276 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/1.107, allocations: 203.2 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/1.107, allocations: 33.67 kB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/1.107, allocations: 119 kB / 1.276 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/1.107, allocations: 42.53 kB / 1.276 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/1.107, allocations: 55.72 kB / 1.276 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/1.107, allocations: 333 kB / 1.277 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/1.107, allocations: 36.22 kB / 1.277 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/1.108, allocations: 129 kB / 1.277 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/1.108, allocations: 101.7 kB / 1.277 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.108, allocations: 3.938 kB / 1.277 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002545/1.108, allocations: 152.6 kB / 1.277 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.108, allocations: 7.219 kB / 1.277 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.108, allocations: 0.8438 kB / 1.277 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.108, allocations: 1.844 kB / 1.277 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/1.108, allocations: 22.34 kB / 1.277 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.108, allocations: 2.75 kB / 1.277 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/1.108, allocations: 32.67 kB / 1.277 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/1.108, allocations: 9.438 kB / 1.277 GB, free: 2.477 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.0001303/1.109, allocations: 142.3 kB / 1.277 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/1.109, allocations: 15.97 kB / 1.277 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.578e-05/1.109, allocations: 20.14 kB / 1.277 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.109, allocations: 1.781 kB / 1.277 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.109, allocations: 0.9062 kB / 1.277 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.109, allocations: 1.875 kB / 1.277 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/1.109, allocations: 498.5 kB / 1.278 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.109, allocations: 0.9375 kB / 1.278 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.628e-05/1.109, allocations: 7.938 kB / 1.278 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.109, allocations: 1.656 kB / 1.278 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/1.109, allocations: 4.75 kB / 1.278 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/1.109, allocations: 3.578 kB / 1.278 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.109, allocations: 0.8438 kB / 1.278 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/1.11, allocations: 236.2 kB / 1.278 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/1.11, allocations: 94.91 kB / 1.278 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/1.11, allocations: 8.969 kB / 1.278 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.11, allocations: 12.08 kB / 1.278 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/1.11, allocations: 21.11 kB / 1.278 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.11, allocations: 10.47 kB / 1.278 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001252/1.11, allocations: 140.7 kB / 1.278 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.11, allocations: 4 kB / 1.278 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003448/1.11, allocations: 55.08 kB / 1.278 GB, free: 1.523 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.0007385/1.111, allocations: 0.8336 MB / 1.279 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000275/1.111, allocations: 99.92 kB / 1.279 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.111, allocations: 0.9688 kB / 1.279 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/1.112, allocations: 53.19 kB / 1.279 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/1.112, allocations: 52.14 kB / 1.279 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/1.115, allocations: 1.917 MB / 1.281 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/1.115, allocations: 0.7215 MB / 1.282 GB, free: 14.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001123/1.115, allocations: 34.12 kB / 1.282 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.115, allocations: 53.17 kB / 1.282 GB, free: 14.48 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.115, allocations: 0 / 1.282 GB, free: 14.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/1.153, allocations: 5.621 MB / 1.288 GB, free: 13.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/9.55, allocations: 5.078 kB / 1.288 GB, free: 13.76 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 15.990129910875112]