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.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.0008371/0.0008371, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009549/0.0009549, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8648/0.8648, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.393e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002024/0.002047, allocations: 1.729 MB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.003338, allocations: 0.9082 MB / 0.9543 GB, free: 340 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.003403, allocations: 3.938 kB / 0.9543 GB, free: 336 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.003566, allocations: 39.7 kB / 0.9543 GB, free: 296 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.003861, allocations: 119.3 kB / 0.9544 GB, free: 176 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.004092, allocations: 155.6 kB / 0.9546 GB, free: 20 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.004312, allocations: 247.3 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.004423, allocations: 17.8 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.004556, allocations: 159.6 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005594/0.01015, allocations: 2.012 MB / 0.957 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.01019, allocations: 16 kB / 0.957 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.01026, allocations: 39.92 kB / 0.957 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.01032, allocations: 39.84 kB / 0.9571 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.01039, allocations: 67.8 kB / 0.9571 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.0107, allocations: 235.3 kB / 0.9573 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.01071, allocations: 7.938 kB / 0.9573 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01071, allocations: 0 / 0.9573 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.01071, allocations: 0 / 0.9573 GB, free: 13.73 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.0005851/0.0113, allocations: 488.7 kB / 0.9578 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.01133, allocations: 8.031 kB / 0.9578 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.01139, allocations: 24.83 kB / 0.9578 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.01159, allocations: 193.3 kB / 0.958 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.0116, allocations: 4.375 kB / 0.958 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.01163, allocations: 19.94 kB / 0.9581 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.01177, allocations: 95.66 kB / 0.9581 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.01177, allocations: 0 / 0.9581 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.01179, allocations: 3.984 kB / 0.9581 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.01179, allocations: 4 kB / 0.9582 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.085e-05/0.01187, allocations: 51.97 kB / 0.9582 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.01237, allocations: 380.1 kB / 0.9586 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.01263, allocations: 126.7 kB / 0.9587 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.01267, allocations: 32.84 kB / 0.9587 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.01269, allocations: 0 / 0.9587 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.01282, allocations: 103.5 kB / 0.9588 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.01282, allocations: 4 kB / 0.9588 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.00025/0.01307, allocations: 170.8 kB / 0.959 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.0131, allocations: 63.28 kB / 0.959 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01323, allocations: 200.4 kB / 0.9592 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.01325, allocations: 37.69 kB / 0.9593 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.01332, allocations: 120.6 kB / 0.9594 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.01334, allocations: 31.75 kB / 0.9594 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.0134, allocations: 57.67 kB / 0.9595 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.01348, allocations: 330.8 kB / 0.9598 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.01353, allocations: 31.98 kB / 0.9598 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.01372, allocations: 240.9 kB / 0.96 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.306e-05/0.01381, allocations: 100.2 kB / 0.9601 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01382, allocations: 0 / 0.9601 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001606/0.01398, allocations: 163.8 kB / 0.9603 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01399, allocations: 4 kB / 0.9603 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01399, allocations: 4 kB / 0.9603 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.01401, allocations: 4.125 kB / 0.9603 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.01405, allocations: 23.86 kB / 0.9603 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.01406, allocations: 4 kB / 0.9603 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01416, allocations: 27.88 kB / 0.9604 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01417, allocations: 8 kB / 0.9604 GB, free: 10.39 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 8.706e-05/0.01426, allocations: 135.8 kB / 0.9605 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.01428, allocations: 19.84 kB / 0.9605 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.01431, allocations: 21.81 kB / 0.9605 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01431, allocations: 4 kB / 0.9605 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.01432, allocations: 7.984 kB / 0.9605 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01432, allocations: 3.938 kB / 0.9606 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.0147, allocations: 420.8 kB / 0.961 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.0147, allocations: 0 / 0.961 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.01472, allocations: 11.98 kB / 0.961 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01472, allocations: 0 / 0.961 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.01473, allocations: 0 / 0.961 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01473, allocations: 0 / 0.961 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01473, allocations: 0 / 0.961 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.01488, allocations: 243.2 kB / 0.9612 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.0149, allocations: 11.91 kB / 0.9612 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.01491, allocations: 4 kB / 0.9612 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.965e-05/0.01497, allocations: 11.98 kB / 0.9612 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.01503, allocations: 23.95 kB / 0.9612 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.01505, allocations: 8 kB / 0.9613 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.614e-05/0.01514, allocations: 143 kB / 0.9614 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01514, allocations: 0 / 0.9614 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001958/0.01534, allocations: 51.89 kB / 0.9614 GB, free: 9.23 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.0002452/0.01558, allocations: 182.7 kB / 0.9616 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.01574, allocations: 107.7 kB / 0.9617 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01574, allocations: 4 kB / 0.9617 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.01584, allocations: 47.92 kB / 0.9618 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.01609, allocations: 54.42 kB / 0.9618 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.01648, allocations: 308.2 kB / 0.9621 GB, free: 8.531 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.794e-05/0.01656, allocations: 116.5 kB / 0.9622 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.01661, allocations: 28.48 kB / 0.9623 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.01661, allocations: 0 / 0.9623 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of Templates: time 0.003673/0.02028, allocations: 3.251 MB / 0.9654 GB, free: 5.137 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 7.0119460402056575]