Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008504/0.0008504, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008293/0.0008293, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.878/0.878, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.757/1.757, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9996 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.571e-05, allocations: 2.281 kB / 0.9996 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00331/0.003336, allocations: 1.717 MB / 1.001 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.005023, allocations: 0.9082 MB / 1.002 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.005146, allocations: 0 / 1.002 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.005366, allocations: 35.67 kB / 1.002 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.005885, allocations: 123.3 kB / 1.002 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.006309, allocations: 158.8 kB / 1.002 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.006666, allocations: 251.3 kB / 1.003 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.00682, allocations: 25.77 kB / 1.003 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.007057, allocations: 147.7 kB / 1.003 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007605/0.01466, allocations: 1.687 MB / 1.005 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.01476, allocations: 16 kB / 1.005 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.01492, allocations: 43.91 kB / 1.005 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.015, allocations: 35.84 kB / 1.005 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.01512, allocations: 71.8 kB / 1.005 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.0156, allocations: 239.2 kB / 1.005 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.01561, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.663e-06/0.01561, allocations: 4 kB / 1.005 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.01562, allocations: 0 / 1.005 GB, free: 7.41 MB / 0.9167 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.0009251/0.01654, allocations: 496.6 kB / 1.005 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.0166, allocations: 8.75 kB / 1.005 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.01666, allocations: 42.73 kB / 1.005 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.01675, allocations: 24.83 kB / 1.005 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.01708, allocations: 175 kB / 1.006 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.01711, allocations: 16.12 kB / 1.006 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.01715, allocations: 16 kB / 1.006 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.01739, allocations: 95.31 kB / 1.006 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.0174, allocations: 4 kB / 1.006 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.01742, allocations: 8 kB / 1.006 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.01743, allocations: 3.938 kB / 1.006 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.01756, allocations: 55.91 kB / 1.006 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.01838, allocations: 395.6 kB / 1.006 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.01878, allocations: 134.7 kB / 1.006 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.01884, allocations: 28.84 kB / 1.006 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.01887, allocations: 4 kB / 1.006 GB, free: 5.801 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.01908, allocations: 103.4 kB / 1.006 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 3.276e-06/0.01908, allocations: 0 / 1.006 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.0004018/0.01949, allocations: 172.5 kB / 1.007 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.01954, allocations: 59.39 kB / 1.007 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.01974, allocations: 194.8 kB / 1.007 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.01978, allocations: 37.64 kB / 1.007 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.905e-05/0.01988, allocations: 132.5 kB / 1.007 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.01991, allocations: 31.77 kB / 1.007 GB, free: 5.035 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.02001, allocations: 57.67 kB / 1.007 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.02014, allocations: 326.8 kB / 1.007 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.02021, allocations: 35.98 kB / 1.007 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.02048, allocations: 236.3 kB / 1.008 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.02062, allocations: 103 kB / 1.008 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.02062, allocations: 7.938 kB / 1.008 GB, free: 4.207 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002564/0.02088, allocations: 149.4 kB / 1.008 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.0209, allocations: 8 kB / 1.008 GB, free: 4.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.02091, allocations: 3.938 kB / 1.008 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.02092, allocations: 4 kB / 1.008 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.02099, allocations: 15.98 kB / 1.008 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.02099, allocations: 0 / 1.008 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.02116, allocations: 32 kB / 1.008 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.02117, allocations: 4 kB / 1.008 GB, free: 3.988 MB / 0.9167 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.0001255/0.0213, allocations: 147.7 kB / 1.008 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.02133, allocations: 19.86 kB / 1.008 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.02137, allocations: 17.81 kB / 1.008 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.02138, allocations: 0 / 1.008 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.02138, allocations: 0 / 1.008 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.02139, allocations: 8.016 kB / 1.008 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.022, allocations: 457.2 kB / 1.009 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.022, allocations: 0 / 1.009 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.02202, allocations: 7.938 kB / 1.009 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.02203, allocations: 0 / 1.009 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.02204, allocations: 4 kB / 1.009 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.02204, allocations: 3.938 kB / 1.009 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02204, allocations: 0 / 1.009 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.02229, allocations: 227.4 kB / 1.009 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.02231, allocations: 27.84 kB / 1.009 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.02233, allocations: 3.984 kB / 1.009 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.02242, allocations: 23.92 kB / 1.009 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.02248, allocations: 23.91 kB / 1.009 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.02251, allocations: 7.984 kB / 1.009 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.088e-05/0.0226, allocations: 138.4 kB / 1.009 GB, free: 2.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.0226, allocations: 4 kB / 1.009 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002281/0.02283, allocations: 47.94 kB / 1.009 GB, free: 2.77 MB / 0.9167 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.0005839/0.02341, allocations: 0.8379 MB / 1.01 GB, free: 1.93 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.02359, allocations: 95.84 kB / 1.01 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02359, allocations: 256 / 1.01 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.221e-05/0.02365, allocations: 51.98 kB / 1.01 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.02395, allocations: 52.48 kB / 1.01 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.02551, allocations: 1.921 MB / 1.012 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.02558, allocations: 108.3 kB / 1.012 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 6.939e-05/0.02565, allocations: 25.62 kB / 1.012 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.02573, allocations: 56.47 kB / 1.012 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of SimCode: time 9.02e-07/0.02573, allocations: 0 / 1.012 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.04746, allocations: 6.613 MB / 1.019 GB, free: 9.07 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/6.945, allocations: 8.875 kB / 1.019 GB, free: 9.066 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.406206539832056]