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.001867/0.001867, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002201/0.002201, allocations: 217.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 69.38 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 169.9 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003351/0.3353, allocations: 1.786 MB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3371, allocations: 0.9436 MB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.474e-05/0.3372, allocations: 3.938 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.3374, allocations: 35.72 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.3377, allocations: 115.4 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.3381, allocations: 161.8 kB / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.3385, allocations: 243.4 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3386, allocations: 33.72 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.3387, allocations: 119.6 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0135/0.3522, allocations: 1.669 MB / 1.29 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3524, allocations: 20 kB / 1.29 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3525, allocations: 32 kB / 1.29 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.857e-05/0.3526, allocations: 47.77 kB / 1.29 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3528, allocations: 87.56 kB / 1.29 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.3533, allocations: 223.1 kB / 1.29 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3533, allocations: 0 / 1.29 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3533, allocations: 4 kB / 1.29 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.3533, allocations: 0 / 1.29 GB, free: 6.137 MB / 0.9825 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.0009892/0.3543, allocations: 496.6 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3543, allocations: 12.03 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.357e-05/0.3544, allocations: 20.8 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.3547, allocations: 177.8 kB / 1.291 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3547, allocations: 16 kB / 1.291 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.3548, allocations: 16 kB / 1.291 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.355, allocations: 113.2 kB / 1.291 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.355, allocations: 0 / 1.291 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.355, allocations: 7.984 kB / 1.291 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.355, allocations: 0 / 1.291 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3552, allocations: 55.97 kB / 1.291 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.3561, allocations: 0.5229 MB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3563, allocations: 89.08 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.3564, allocations: 41.77 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3564, allocations: 4 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.3567, allocations: 129.1 kB / 1.292 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3567, allocations: 0 / 1.292 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003722/0.357, allocations: 165.5 kB / 1.292 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.3571, allocations: 77.11 kB / 1.292 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3573, allocations: 204.9 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.3574, allocations: 33.7 kB / 1.292 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3575, allocations: 124.5 kB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.3575, allocations: 35.73 kB / 1.292 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3576, allocations: 57.67 kB / 1.292 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3578, allocations: 326.8 kB / 1.293 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.3578, allocations: 43.95 kB / 1.293 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.3581, allocations: 133.3 kB / 1.293 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3583, allocations: 119.5 kB / 1.293 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3583, allocations: 0 / 1.293 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002767/0.3585, allocations: 158.2 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3586, allocations: 8 kB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3586, allocations: 4.156 kB / 1.293 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3586, allocations: 4 kB / 1.293 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3587, allocations: 23.92 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3587, allocations: 4 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3589, allocations: 23.88 kB / 1.293 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3589, allocations: 8 kB / 1.293 GB, free: 2.648 MB / 0.9825 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.0001714/0.3591, allocations: 147.5 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.3591, allocations: 15.91 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.3592, allocations: 25.45 kB / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3592, allocations: 3.938 kB / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3592, allocations: 0 / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3592, allocations: 4 kB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.3599, allocations: 430.4 kB / 1.294 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.3599, allocations: 3.984 kB / 1.294 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.381e-05/0.3599, allocations: 4 kB / 1.294 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3599, allocations: 8 kB / 1.294 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3599, allocations: 0 / 1.294 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3599, allocations: 7.875 kB / 1.294 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3599, allocations: 4 kB / 1.294 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.3602, allocations: 228.2 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.3602, allocations: 19.84 kB / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3603, allocations: 4 kB / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3604, allocations: 24 kB / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.3605, allocations: 23.95 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.3605, allocations: 8 kB / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001376/0.3606, allocations: 148 kB / 1.294 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3606, allocations: 0 / 1.294 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003278/0.361, allocations: 44 kB / 1.294 GB, free: 1.438 MB / 0.9825 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.0004033/0.3614, allocations: 182 kB / 1.294 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3616, allocations: 87.91 kB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3616, allocations: 0 / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.3617, allocations: 51.91 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3621, allocations: 51.95 kB / 1.295 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.3629, allocations: 355.6 kB / 1.295 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3633, allocations: 0.7242 MB / 1.296 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.3633, allocations: 23.42 kB / 1.296 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3633, allocations: 0 / 1.296 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of Templates: time 0.0061/0.3694, allocations: 3.219 MB / 1.299 GB, free: 12.74 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.019688137021149]