Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.0008761/0.0008761, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.000788/0.000788, allocations: 181.9 kB / 23.22 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.8689/0.8689, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.655/1.655, 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9517 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.395e-05, allocations: 5.656 kB / 0.9517 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002236/0.00226, allocations: 1.721 MB / 0.9534 GB, free: 172 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003348, allocations: 0.9044 MB / 0.9543 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.003415, allocations: 0 / 0.9543 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.003588, allocations: 35.7 kB / 0.9543 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.003893, allocations: 123.3 kB / 0.9544 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.004152, allocations: 157.4 kB / 0.9546 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.004358, allocations: 239.3 kB / 0.9548 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.004482, allocations: 33.78 kB / 0.9548 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.00462, allocations: 151.6 kB / 0.955 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/0.009185, allocations: 1.651 MB / 0.9566 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.00922, allocations: 20 kB / 0.9566 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.00929, allocations: 35.94 kB / 0.9566 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.009344, allocations: 43.83 kB / 0.9567 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.009413, allocations: 63.81 kB / 0.9567 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.009699, allocations: 239.3 kB / 0.957 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.009704, allocations: 8 kB / 0.957 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.41e-07/0.009704, allocations: 0 / 0.957 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.009708, allocations: 0 / 0.957 GB, free: 12.91 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005769/0.01029, allocations: 495 kB / 0.9575 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.01032, allocations: 8.031 kB / 0.9575 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.01038, allocations: 24.83 kB / 0.9575 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.01057, allocations: 185.4 kB / 0.9577 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.01059, allocations: 16.38 kB / 0.9577 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.01061, allocations: 11.94 kB / 0.9577 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.01076, allocations: 115.3 kB / 0.9578 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.01077, allocations: 0 / 0.9578 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.01078, allocations: 8 kB / 0.9578 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.01078, allocations: 0 / 0.9578 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.01087, allocations: 50.47 kB / 0.9579 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.01139, allocations: 468.3 kB / 0.9583 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.01152, allocations: 97.06 kB / 0.9584 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.01156, allocations: 33.77 kB / 0.9584 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.01158, allocations: 4 kB / 0.9584 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.01171, allocations: 121.2 kB / 0.9585 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.01171, allocations: 0 / 0.9585 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002551/0.01197, allocations: 169.5 kB / 0.9587 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.01201, allocations: 85.14 kB / 0.9588 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.01214, allocations: 204.4 kB / 0.959 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01217, allocations: 37.64 kB / 0.959 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.01223, allocations: 120.5 kB / 0.9591 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.01226, allocations: 35.8 kB / 0.9592 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.01232, allocations: 57.67 kB / 0.9592 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.0124, allocations: 330.8 kB / 0.9595 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.01244, allocations: 31.98 kB / 0.9596 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.01263, allocations: 241.5 kB / 0.9598 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.01273, allocations: 119.9 kB / 0.9599 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01273, allocations: 0 / 0.9599 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001675/0.0129, allocations: 169.3 kB / 0.9601 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01291, allocations: 8 kB / 0.9601 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01292, allocations: 0 / 0.9601 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.01293, allocations: 4.156 kB / 0.9601 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.01299, allocations: 27.92 kB / 0.9601 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.013, allocations: 4 kB / 0.9601 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.01311, allocations: 27.88 kB / 0.9601 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.01311, allocations: 4 kB / 0.9601 GB, free: 9.375 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.789e-05/0.0132, allocations: 143.7 kB / 0.9603 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.01322, allocations: 23.83 kB / 0.9603 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.01325, allocations: 17.47 kB / 0.9603 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01325, allocations: 0 / 0.9603 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01325, allocations: 4 kB / 0.9603 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01326, allocations: 7.984 kB / 0.9603 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.01361, allocations: 393 kB / 0.9607 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01361, allocations: 0 / 0.9607 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.01362, allocations: 4 kB / 0.9607 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01362, allocations: 0 / 0.9607 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.01363, allocations: 4 kB / 0.9607 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01363, allocations: 4 kB / 0.9607 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01363, allocations: 3.938 kB / 0.9607 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.01377, allocations: 234.8 kB / 0.9609 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.01379, allocations: 19.91 kB / 0.961 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.01381, allocations: 8 kB / 0.961 GB, free: 8.473 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.01389, allocations: 19.97 kB / 0.961 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.01395, allocations: 19.97 kB / 0.961 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.01396, allocations: 4 kB / 0.961 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.01404, allocations: 139.2 kB / 0.9611 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01404, allocations: 0 / 0.9611 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002035/0.01424, allocations: 43.94 kB / 0.9612 GB, free: 8.25 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0002503/0.01449, allocations: 188.3 kB / 0.9614 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.01465, allocations: 98.64 kB / 0.9615 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01465, allocations: 0 / 0.9615 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.01471, allocations: 43.92 kB / 0.9615 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.01498, allocations: 59.22 kB / 0.9616 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.01545, allocations: 339.7 kB / 0.9619 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.859e-05/0.01552, allocations: 116.6 kB / 0.962 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.01556, allocations: 20.5 kB / 0.962 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.01556, allocations: 0 / 0.962 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of Templates: time 0.003467/0.01903, allocations: 3.27 MB / 0.9652 GB, free: 4.113 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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: 6.896305115893483]