Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005045/0.005045, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.001289/0.001289, allocations: 194.5 kB / 16.68 MB, free: 5.969 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 482.4 MB / 0.7548 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 64.08 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003413/0.3537, allocations: 1.727 MB / 1.243 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3555, allocations: 0.8968 MB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.3556, allocations: 3.938 kB / 1.244 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.3559, allocations: 27.73 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.3564, allocations: 119.4 kB / 1.244 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3568, allocations: 155.3 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.3572, allocations: 239.4 kB / 1.245 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3574, allocations: 53.58 kB / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.3575, allocations: 107.7 kB / 1.245 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/0.3709, allocations: 1.666 MB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-05/0.371, allocations: 16 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3711, allocations: 39.98 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.3712, allocations: 43.83 kB / 1.246 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3714, allocations: 95.5 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.3719, allocations: 215.2 kB / 1.247 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3719, allocations: 0 / 1.247 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3719, allocations: 0 / 1.247 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3719, allocations: 0 / 1.247 GB, free: 5.227 MB / 0.9981 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.0009695/0.3729, allocations: 0.5681 MB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3729, allocations: 8.031 kB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.373, allocations: 42.73 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.224e-05/0.3731, allocations: 20.84 kB / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.3734, allocations: 243.4 kB / 1.248 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3734, allocations: 15.92 kB / 1.248 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.3734, allocations: 12 kB / 1.248 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.3737, allocations: 115.4 kB / 1.248 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3737, allocations: 0 / 1.248 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3737, allocations: 4 kB / 1.248 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3737, allocations: 4 kB / 1.248 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.3739, allocations: 51.91 kB / 1.248 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.3748, allocations: 0.5396 MB / 1.248 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3749, allocations: 97.06 kB / 1.248 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.375, allocations: 41.77 kB / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.375, allocations: 11.94 kB / 1.248 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002922/0.3753, allocations: 120.1 kB / 1.249 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.3754, allocations: 0 / 1.249 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003686/0.3757, allocations: 172.2 kB / 1.249 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.3758, allocations: 77.23 kB / 1.249 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.376, allocations: 204.3 kB / 1.249 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3761, allocations: 33.7 kB / 1.249 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3762, allocations: 120.5 kB / 1.249 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.3762, allocations: 35.73 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.3763, allocations: 57.67 kB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3765, allocations: 334.8 kB / 1.25 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.841e-05/0.3765, allocations: 31.98 kB / 1.25 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.3768, allocations: 147.6 kB / 1.25 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.377, allocations: 118 kB / 1.25 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.377, allocations: 0 / 1.25 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002618/0.3773, allocations: 165.4 kB / 1.25 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3773, allocations: 4 kB / 1.25 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3773, allocations: 0 / 1.25 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3773, allocations: 4 kB / 1.25 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.3774, allocations: 24.08 kB / 1.25 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3774, allocations: 4 kB / 1.25 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3776, allocations: 27.88 kB / 1.25 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3777, allocations: 4 kB / 1.25 GB, free: 1.48 MB / 0.9981 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.0001374/0.3778, allocations: 148 kB / 1.25 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.3779, allocations: 15.91 kB / 1.25 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.3779, allocations: 17.53 kB / 1.25 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3779, allocations: 0 / 1.25 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3779, allocations: 8 kB / 1.25 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3779, allocations: 3.984 kB / 1.25 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.3786, allocations: 465.5 kB / 1.251 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3786, allocations: 4 kB / 1.251 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.3786, allocations: 7.922 kB / 1.251 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3786, allocations: 4 kB / 1.251 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3787, allocations: 7.938 kB / 1.251 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3787, allocations: 0 / 1.251 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3787, allocations: 8 kB / 1.251 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3789, allocations: 228.2 kB / 1.251 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.379, allocations: 92.95 kB / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.379, allocations: 3.938 kB / 1.251 GB, free: 388 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3792, allocations: 15.98 kB / 1.251 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.3792, allocations: 23.97 kB / 1.251 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.3793, allocations: 8 kB / 1.251 GB, free: 340 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000131/0.3794, allocations: 152.1 kB / 1.251 GB, free: 188 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3794, allocations: 0 / 1.251 GB, free: 188 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003156/0.3797, allocations: 51.88 kB / 1.251 GB, free: 136 kB / 0.9981 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.5604/0.9401, allocations: 0.8256 MB / 1.252 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.9405, allocations: 99.92 kB / 1.252 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9405, allocations: 2.531 kB / 1.252 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.9406, allocations: 49.16 kB / 1.252 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.9411, allocations: 55.77 kB / 1.252 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.9431, allocations: 1.942 MB / 1.254 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.9433, allocations: 0.7261 MB / 1.255 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000103/0.9434, allocations: 21.64 kB / 1.255 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.9435, allocations: 56.48 kB / 1.255 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/0.9435, allocations: 0.9688 kB / 1.255 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.9731, allocations: 5.532 MB / 1.26 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.979, allocations: 13.27 kB / 1.26 GB, free: 11.86 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches