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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001616/0.001616, allocations: 105.2 kB / 15.98 MB, free: 6.352 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.001631/0.001631, allocations: 193 kB / 16.91 MB, free: 6.184 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.1 MB / 0.7107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.97 kB / 0.8694 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3075, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.004842/0.3124, allocations: 1.889 MB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.3148, allocations: 0.9358 MB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.315, allocations: 0 / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.3153, allocations: 23.8 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005492/0.3159, allocations: 103.6 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.3164, allocations: 137.1 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.3169, allocations: 247.3 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3171, allocations: 29.67 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.3173, allocations: 111.7 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03173/0.349, allocations: 1.698 MB / 1.023 GB, free: 6.305 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.3492, allocations: 16 kB / 1.023 GB, free: 6.289 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3493, allocations: 35.98 kB / 1.023 GB, free: 6.254 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3494, allocations: 35.91 kB / 1.023 GB, free: 6.219 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3496, allocations: 99.44 kB / 1.023 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.35, allocations: 147.8 kB / 1.023 GB, free: 5.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.35, allocations: 0 / 1.023 GB, free: 5.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.803e-06/0.35, allocations: 0 / 1.023 GB, free: 5.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.35, allocations: 0 / 1.023 GB, free: 5.977 MB / 0.795 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.0009778/0.351, allocations: 0.5488 MB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.351, allocations: 12.92 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.3511, allocations: 16.75 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.3516, allocations: 252 kB / 1.024 GB, free: 5.055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.3516, allocations: 12 kB / 1.024 GB, free: 5.043 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.3516, allocations: 11.98 kB / 1.024 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.3519, allocations: 99.88 kB / 1.024 GB, free: 4.93 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3519, allocations: 3.938 kB / 1.024 GB, free: 4.926 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3519, allocations: 4 kB / 1.024 GB, free: 4.922 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3519, allocations: 4 kB / 1.024 GB, free: 4.918 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.352, allocations: 47.97 kB / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.3529, allocations: 480.3 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.3534, allocations: 138.6 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.3535, allocations: 36.84 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3535, allocations: 4 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.3538, allocations: 110.6 kB / 1.025 GB, free: 4.047 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.3538, allocations: 0 / 1.025 GB, free: 4.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0004088/0.3542, allocations: 161.4 kB / 1.025 GB, free: 3.883 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.3542, allocations: 63.34 kB / 1.025 GB, free: 3.809 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.3545, allocations: 200 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3545, allocations: 33.7 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3547, allocations: 120.5 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.3547, allocations: 43.47 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.3549, allocations: 61.67 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3551, allocations: 326.8 kB / 1.026 GB, free: 3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-05/0.3552, allocations: 27.98 kB / 1.026 GB, free: 2.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.3554, allocations: 134.6 kB / 1.026 GB, free: 2.816 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.3556, allocations: 106.9 kB / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3556, allocations: 0 / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002825/0.3559, allocations: 153.3 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.356, allocations: 4 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.356, allocations: 0 / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.356, allocations: 4 kB / 1.026 GB, free: 2.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3562, allocations: 19.92 kB / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3562, allocations: 0 / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3564, allocations: 31.95 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3564, allocations: 8 kB / 1.026 GB, free: 2.477 MB / 0.795 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.0001645/0.3566, allocations: 144.1 kB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.3566, allocations: 15.81 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.3567, allocations: 17.88 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3567, allocations: 0 / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3567, allocations: 0 / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.3567, allocations: 3.984 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007817/0.3575, allocations: 0.4943 MB / 1.027 GB, free: 1.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3575, allocations: 0 / 1.027 GB, free: 1.746 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.3576, allocations: 4 kB / 1.027 GB, free: 1.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3576, allocations: 3.938 kB / 1.027 GB, free: 1.738 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3576, allocations: 7.984 kB / 1.027 GB, free: 1.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3576, allocations: 3.938 kB / 1.027 GB, free: 1.727 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3576, allocations: 0 / 1.027 GB, free: 1.727 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.3579, allocations: 242.6 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.358, allocations: 92.91 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.358, allocations: 4 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3581, allocations: 19.92 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.3582, allocations: 19.97 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.3583, allocations: 11.94 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001488/0.3584, allocations: 143.2 kB / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3584, allocations: 0 / 1.027 GB, free: 1.172 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003421/0.3588, allocations: 47.92 kB / 1.027 GB, free: 1.125 MB / 0.795 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.0004447/0.3592, allocations: 152.6 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.3595, allocations: 115.8 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3595, allocations: 0 / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3596, allocations: 51.92 kB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3601, allocations: 67.41 kB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.3609, allocations: 381.1 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.3613, allocations: 0.724 MB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.3614, allocations: 31.42 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3614, allocations: 0 / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.006441/0.3678, allocations: 3.227 MB / 1.032 GB, free: 12.38 MB / 0.8106 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=400 -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