Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008805/0.0008804, allocations: 99.34 kB / 16.02 MB, free: 76 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.001006/0.001006, allocations: 184 kB / 16.92 MB, free: 6.703 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000559/0.0005593, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7602/0.7608, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002644/0.7635, allocations: 1.535 MB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.7655, allocations: 0.9204 MB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.7657, allocations: 4 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.7659, allocations: 23.8 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.7663, allocations: 91.59 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.7668, allocations: 143.7 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.7671, allocations: 227.4 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.7673, allocations: 37.66 kB / 1.027 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.7675, allocations: 95.69 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05094/0.8185, allocations: 3.308 MB / 1.03 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.7e-05/0.8186, allocations: 12 kB / 1.03 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.8187, allocations: 31.94 kB / 1.03 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.8188, allocations: 35.89 kB / 1.03 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.819, allocations: 105.3 kB / 1.03 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.8193, allocations: 147.5 kB / 1.03 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.8193, allocations: 0 / 1.03 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8193, allocations: 0 / 1.03 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8193, allocations: 0 / 1.03 GB, free: 9.945 MB / 0.7794 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.0008767/0.8202, allocations: 0.5216 MB / 1.031 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.8203, allocations: 8.031 kB / 1.031 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.8203, allocations: 20.75 kB / 1.031 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.8207, allocations: 247.4 kB / 1.031 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.8207, allocations: 11.98 kB / 1.031 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.8207, allocations: 12 kB / 1.031 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.821, allocations: 93.66 kB / 1.031 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.821, allocations: 4 kB / 1.031 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.821, allocations: 4 kB / 1.031 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.821, allocations: 4 kB / 1.031 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.8211, allocations: 47.97 kB / 1.031 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.822, allocations: 484.2 kB / 1.032 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.8225, allocations: 158.7 kB / 1.032 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.8225, allocations: 40.84 kB / 1.032 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.8226, allocations: 4 kB / 1.032 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.8228, allocations: 103.3 kB / 1.032 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.8228, allocations: 0 / 1.032 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003749/0.8231, allocations: 172.6 kB / 1.032 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.8232, allocations: 59.39 kB / 1.032 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.8234, allocations: 188.4 kB / 1.032 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.8234, allocations: 37.7 kB / 1.032 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.8236, allocations: 124.4 kB / 1.032 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.8236, allocations: 39.55 kB / 1.033 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.8236, allocations: 29.7 kB / 1.033 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8238, allocations: 334.8 kB / 1.033 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.292e-05/0.8239, allocations: 31.98 kB / 1.033 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.8241, allocations: 134.4 kB / 1.033 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.8243, allocations: 96.14 kB / 1.033 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8243, allocations: 0 / 1.033 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002555/0.8245, allocations: 160.2 kB / 1.033 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8246, allocations: 7.984 kB / 1.033 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8246, allocations: 0 / 1.033 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.8246, allocations: 4 kB / 1.033 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.8247, allocations: 15.94 kB / 1.033 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8247, allocations: 0 / 1.033 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.8249, allocations: 39.81 kB / 1.033 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.8249, allocations: 8.125 kB / 1.033 GB, free: 6.477 MB / 0.7794 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 0.0001302/0.8251, allocations: 140 kB / 1.033 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.8251, allocations: 15.81 kB / 1.033 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.8252, allocations: 25.8 kB / 1.034 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8252, allocations: 4 kB / 1.034 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8252, allocations: 0 / 1.034 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8252, allocations: 0 / 1.034 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.8259, allocations: 0.4943 MB / 1.034 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8259, allocations: 7.984 kB / 1.034 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.826, allocations: 0 / 1.034 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.826, allocations: 4 kB / 1.034 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.826, allocations: 4 kB / 1.034 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.826, allocations: 3.938 kB / 1.034 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.826, allocations: 0 / 1.034 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.8262, allocations: 235.2 kB / 1.034 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.8263, allocations: 92.86 kB / 1.034 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.8263, allocations: 11.98 kB / 1.034 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.8265, allocations: 23.92 kB / 1.034 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.8266, allocations: 23.97 kB / 1.034 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.8266, allocations: 4 kB / 1.034 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001264/0.8267, allocations: 147.3 kB / 1.035 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8267, allocations: 0 / 1.035 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000341/0.8271, allocations: 43.91 kB / 1.035 GB, free: 5.117 MB / 0.7794 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.0003566/0.8274, allocations: 171.3 kB / 1.035 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.8277, allocations: 111.9 kB / 1.035 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8277, allocations: 4 kB / 1.035 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.6e-05/0.8278, allocations: 51.92 kB / 1.035 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.8283, allocations: 54.78 kB / 1.035 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.829, allocations: 380.3 kB / 1.035 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8293, allocations: 0.7283 MB / 1.036 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.8294, allocations: 19.44 kB / 1.036 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.8294, allocations: 0 / 1.036 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.006609/0.836, allocations: 3.197 MB / 1.039 GB, free: 400 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches