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.006436/0.006436, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001337/0.001338, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.538/2.538, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 62.69 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3401, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003251/0.3434, allocations: 1.747 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3451, allocations: 0.8891 MB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.3453, allocations: 4 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.3455, allocations: 31.7 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.346, allocations: 115.5 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.3464, allocations: 159.3 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.3467, allocations: 239.3 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.3469, allocations: 49.62 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.347, allocations: 111.7 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009583/0.3566, allocations: 1.663 MB / 1.093 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.3567, allocations: 16 kB / 1.093 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.3569, allocations: 43.98 kB / 1.093 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.357, allocations: 43.83 kB / 1.093 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3571, allocations: 87.52 kB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.3575, allocations: 215.3 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.3575, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3575, allocations: 7.875 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3575, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 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.0008646/0.3584, allocations: 0.5527 MB / 1.094 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3585, allocations: 8.031 kB / 1.094 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.227e-05/0.3586, allocations: 24.66 kB / 1.094 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3589, allocations: 243.5 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.3589, allocations: 15.98 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.359, allocations: 12 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3592, allocations: 115.4 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3592, allocations: 0 / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.3592, allocations: 4 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3592, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3594, allocations: 59.91 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/0.3602, allocations: 0.5356 MB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3604, allocations: 101.1 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.07e-05/0.3605, allocations: 37.77 kB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3605, allocations: 4 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.3608, allocations: 133.2 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.3608, allocations: 0 / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.000375/0.3612, allocations: 161.4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3612, allocations: 81.11 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3615, allocations: 210.3 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.3615, allocations: 33.7 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.3616, allocations: 120.5 kB / 1.096 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3616, allocations: 31.55 kB / 1.096 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.3617, allocations: 61.67 kB / 1.096 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3618, allocations: 330.8 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.3619, allocations: 27.98 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.3622, allocations: 154.3 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.3623, allocations: 106 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3623, allocations: 0 / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002708/0.3626, allocations: 164.8 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3626, allocations: 4 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3626, allocations: 4 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3627, allocations: 7.938 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.3627, allocations: 19.98 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3628, allocations: 4.156 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.363, allocations: 23.83 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.363, allocations: 12 kB / 1.096 GB, free: 8.859 MB / 0.8575 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.0001296/0.3631, allocations: 139.5 kB / 1.097 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.3632, allocations: 19.75 kB / 1.097 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.3632, allocations: 21.53 kB / 1.097 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3633, allocations: 4 kB / 1.097 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3633, allocations: 0 / 1.097 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3633, allocations: 7.984 kB / 1.097 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.3639, allocations: 462.2 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3639, allocations: 0 / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.3639, allocations: 11.92 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3639, allocations: 0 / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3639, allocations: 4 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3639, allocations: 3.938 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3639, allocations: 0 / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3642, allocations: 236.1 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3642, allocations: 88.92 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3643, allocations: 8 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3644, allocations: 11.92 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.3645, allocations: 19.97 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3645, allocations: 15.94 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001208/0.3646, allocations: 148.4 kB / 1.098 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3647, allocations: 0 / 1.098 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003332/0.365, allocations: 51.89 kB / 1.098 GB, free: 7.531 MB / 0.8575 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.0003941/0.3654, allocations: 170.8 kB / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.3656, allocations: 107.9 kB / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3657, allocations: 0 / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.3658, allocations: 52.3 kB / 1.098 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3662, allocations: 54.3 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.3669, allocations: 302.2 kB / 1.098 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3672, allocations: 0.7242 MB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.3673, allocations: 21.53 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.3674, allocations: 23.42 kB / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of SimCode: time 7.52e-07/0.3674, allocations: 0 / 1.099 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of Templates: time 0.00841/0.3758, allocations: 3.769 MB / 1.103 GB, free: 2.324 MB / 0.8575 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