Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.617/2.617, allocations: 390.2 MB / 0.6647 GB, free: 500 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 59.91 kB / 0.8125 GB, free: 14.52 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.87, allocations: 140.3 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003098/0.8732, allocations: 1.739 MB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.8747, allocations: 0.901 MB / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.8748, allocations: 0.8438 kB / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.8751, allocations: 31.02 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.8756, allocations: 115.9 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.876, allocations: 155.3 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000364/0.8763, allocations: 238.7 kB / 0.9527 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.8765, allocations: 48 kB / 0.9527 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.8767, allocations: 109.6 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.887, allocations: 1.645 MB / 0.9544 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.8872, allocations: 16.75 kB / 0.9544 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.8874, allocations: 44.31 kB / 0.9545 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.547e-05/0.8875, allocations: 40.28 kB / 0.9545 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.8876, allocations: 94.67 kB / 0.9546 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.8881, allocations: 218 kB / 0.9548 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.8881, allocations: 0 / 0.9548 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8882, allocations: 0 / 0.9548 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.8882, allocations: 0 / 0.9548 GB, free: 5.691 MB / 0.7169 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.001097/0.8893, allocations: 0.555 MB / 0.9553 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.8893, allocations: 9.156 kB / 0.9554 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.8895, allocations: 20.22 kB / 0.9554 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.8899, allocations: 254.2 kB / 0.9556 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.8899, allocations: 15.94 kB / 0.9556 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.89, allocations: 13.44 kB / 0.9556 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.8902, allocations: 112.2 kB / 0.9558 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.8903, allocations: 0 / 0.9558 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.8903, allocations: 3.281 kB / 0.9558 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8903, allocations: 0 / 0.9558 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.8904, allocations: 56.78 kB / 0.9558 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009557/0.8914, allocations: 0.5439 MB / 0.9563 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.8916, allocations: 94.3 kB / 0.9564 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/0.8917, allocations: 42.27 kB / 0.9565 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.8917, allocations: 1.594 kB / 0.9565 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.8921, allocations: 132.3 kB / 0.9566 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.8921, allocations: 1.125 kB / 0.9566 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0004/0.8925, allocations: 158.5 kB / 0.9568 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.8925, allocations: 80.39 kB / 0.9568 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.8928, allocations: 209.1 kB / 0.957 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.8928, allocations: 37.14 kB / 0.9571 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.8929, allocations: 118 kB / 0.9572 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.893, allocations: 36.72 kB / 0.9572 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.8931, allocations: 62 kB / 0.9573 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.8932, allocations: 331 kB / 0.9576 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.175e-05/0.8933, allocations: 29.17 kB / 0.9576 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.8935, allocations: 148 kB / 0.9578 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.8937, allocations: 108.2 kB / 0.9579 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8937, allocations: 0 / 0.9579 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000293/0.894, allocations: 165.8 kB / 0.958 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.894, allocations: 7.312 kB / 0.958 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.894, allocations: 1.812 kB / 0.958 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.8941, allocations: 1.688 kB / 0.958 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.8942, allocations: 15.73 kB / 0.958 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.8942, allocations: 7.281 kB / 0.958 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.8945, allocations: 24.39 kB / 0.9581 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.8945, allocations: 10.06 kB / 0.9581 GB, free: 2.762 MB / 0.7169 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 0.0001537/0.8946, allocations: 144.8 kB / 0.9582 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.8947, allocations: 23.34 kB / 0.9582 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.8948, allocations: 22.91 kB / 0.9583 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.8948, allocations: 5.359 kB / 0.9583 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.8948, allocations: 1.375 kB / 0.9583 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.8948, allocations: 0 / 0.9583 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.8954, allocations: 461.1 kB / 0.9587 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.8954, allocations: 9.297 kB / 0.9587 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.8954, allocations: 6.688 kB / 0.9587 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.8954, allocations: 1.375 kB / 0.9587 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.8954, allocations: 5.312 kB / 0.9587 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.8955, allocations: 5.312 kB / 0.9587 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8955, allocations: 1.375 kB / 0.9587 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.8957, allocations: 231.2 kB / 0.959 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.8958, allocations: 90.42 kB / 0.959 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.8958, allocations: 5.375 kB / 0.9591 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.8959, allocations: 18.78 kB / 0.9591 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.896, allocations: 20.17 kB / 0.9591 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.8961, allocations: 6.594 kB / 0.9591 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001432/0.8962, allocations: 140.9 kB / 0.9592 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8962, allocations: 4 kB / 0.9592 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003724/0.8966, allocations: 54.98 kB / 0.9593 GB, free: 1.715 MB / 0.7169 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.0004474/0.8971, allocations: 166.6 kB / 0.9594 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.8974, allocations: 106.6 kB / 0.9595 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8974, allocations: 1.094 kB / 0.9595 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.8975, allocations: 50.86 kB / 0.9596 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.898, allocations: 71.27 kB / 0.9597 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.8988, allocations: 315.5 kB / 0.96 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.899, allocations: 0.7207 MB / 0.9607 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.8991, allocations: 26.47 kB / 0.9607 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.8992, allocations: 23.97 kB / 0.9607 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.8992, allocations: 0 / 0.9607 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of Templates: time 0.01104/0.9102, allocations: 3.657 MB / 0.9643 GB, free: 14.68 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches