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.001591/0.001591, allocations: 109.2 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 193.4 kB / 16.91 MB, free: 5.758 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.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.351/2.351, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 61.88 kB / 0.8127 GB, free: 32.42 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2751, allocations: 140.4 MB / 0.9498 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003934/0.2791, allocations: 1.889 MB / 0.9516 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.281, allocations: 0.928 MB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.2812, allocations: 0 / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.2815, allocations: 23.86 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.2821, allocations: 99.59 kB / 0.9526 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.2825, allocations: 143.4 kB / 0.9528 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.2829, allocations: 243.3 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.2831, allocations: 53.62 kB / 0.9531 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.2833, allocations: 107.7 kB / 0.9532 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02157/0.3049, allocations: 1.653 MB / 0.9548 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.893e-05/0.305, allocations: 20 kB / 0.9548 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3052, allocations: 47.91 kB / 0.9548 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.3052, allocations: 35.91 kB / 0.9549 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3054, allocations: 95.5 kB / 0.955 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.3057, allocations: 143.8 kB / 0.9551 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3057, allocations: 0 / 0.9551 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3057, allocations: 0 / 0.9551 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.3057, allocations: 4 kB / 0.9551 GB, free: 4.234 MB / 0.7325 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.0008829/0.3066, allocations: 0.5526 MB / 0.9556 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3067, allocations: 12.03 kB / 0.9557 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.3067, allocations: 28.73 kB / 0.9557 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.3071, allocations: 239.5 kB / 0.9559 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3071, allocations: 12 kB / 0.9559 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.3071, allocations: 20 kB / 0.9559 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3074, allocations: 116.7 kB / 0.956 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3074, allocations: 0 / 0.956 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3074, allocations: 3.984 kB / 0.9561 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.3074, allocations: 4 kB / 0.9561 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3075, allocations: 51.97 kB / 0.9561 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008677/0.3084, allocations: 0.5357 MB / 0.9566 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3086, allocations: 101.1 kB / 0.9567 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.3087, allocations: 37.77 kB / 0.9568 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3087, allocations: 4 kB / 0.9568 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.3089, allocations: 129.1 kB / 0.9569 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.3089, allocations: 0 / 0.9569 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003867/0.3093, allocations: 165.6 kB / 0.957 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.3094, allocations: 81.09 kB / 0.9571 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3096, allocations: 202.5 kB / 0.9573 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.3096, allocations: 37.69 kB / 0.9574 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3097, allocations: 120.4 kB / 0.9575 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3098, allocations: 27.66 kB / 0.9575 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.3099, allocations: 61.66 kB / 0.9576 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.31, allocations: 334.9 kB / 0.9579 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.3101, allocations: 39.92 kB / 0.9579 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3103, allocations: 135.2 kB / 0.958 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3105, allocations: 113.9 kB / 0.9581 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3105, allocations: 0 / 0.9581 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002536/0.3107, allocations: 165.3 kB / 0.9583 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3108, allocations: 12.16 kB / 0.9583 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3108, allocations: 0 / 0.9583 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3108, allocations: 4 kB / 0.9583 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.3109, allocations: 23.92 kB / 0.9583 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3109, allocations: 4 kB / 0.9583 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3111, allocations: 23.83 kB / 0.9584 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3112, allocations: 8 kB / 0.9584 GB, free: 0.543 MB / 0.7325 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.0001555/0.3113, allocations: 143.5 kB / 0.9585 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.3113, allocations: 23.8 kB / 0.9585 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.3114, allocations: 17.53 kB / 0.9586 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3114, allocations: 0 / 0.9586 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3114, allocations: 0 / 0.9586 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3114, allocations: 4 kB / 0.9586 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.3121, allocations: 462 kB / 0.959 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3121, allocations: 4 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.3121, allocations: 7.984 kB / 0.959 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3121, allocations: 8 kB / 0.959 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3122, allocations: 0 / 0.959 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3122, allocations: 3.938 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3122, allocations: 7.938 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3124, allocations: 224.2 kB / 0.9592 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/0.3125, allocations: 92.86 kB / 0.9593 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3125, allocations: 8 kB / 0.9593 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.3127, allocations: 15.92 kB / 0.9594 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.3127, allocations: 19.97 kB / 0.9594 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.3128, allocations: 12 kB / 0.9594 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3129, allocations: 140.4 kB / 0.9595 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3129, allocations: 0 / 0.9595 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003104/0.3132, allocations: 51.98 kB / 0.9596 GB, free: 15.23 MB / 0.7481 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.0003408/0.3136, allocations: 165.5 kB / 0.9597 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.3139, allocations: 115.8 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3139, allocations: 0 / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.314, allocations: 55.91 kB / 0.9599 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3144, allocations: 59.52 kB / 0.9599 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.3152, allocations: 386.1 kB / 0.9603 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3155, allocations: 0.7203 MB / 0.961 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.3156, allocations: 27.42 kB / 0.961 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.3156, allocations: 0 / 0.961 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.00627/0.3219, allocations: 3.2 MB / 0.9642 GB, free: 10.48 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches