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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_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.005764/0.005764, allocations: 104.2 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.001227/0.001227, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.27/2.27, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 59.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/0.7988, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002778/0.8016, allocations: 1.738 MB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.8032, allocations: 0.894 MB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.8033, allocations: 1.125 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.8036, allocations: 40.12 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.8041, allocations: 113.1 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.8046, allocations: 156.2 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.8049, allocations: 241.5 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.8051, allocations: 41.62 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.8053, allocations: 111.3 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009678/0.815, allocations: 1.653 MB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.8151, allocations: 17.66 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.8152, allocations: 50.58 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.8153, allocations: 39.75 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.8154, allocations: 97.75 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.8158, allocations: 218.4 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8158, allocations: 4.656 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8158, allocations: 0 / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.8159, allocations: 1.391 kB / 1.093 GB, free: 2.492 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.0007276/0.8166, allocations: 0.5467 MB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.8166, allocations: 10.28 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.8167, allocations: 44.41 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.8167, allocations: 24.06 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.817, allocations: 241.2 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.817, allocations: 11.45 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.817, allocations: 14.98 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.8172, allocations: 110.4 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8173, allocations: 4.844 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.8173, allocations: 5.312 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8173, allocations: 2.438 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.8174, allocations: 57.55 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000771/0.8182, allocations: 0.5374 MB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.8184, allocations: 97.55 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.8184, allocations: 45.39 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.8185, allocations: 6.078 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.8186, allocations: 120.9 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.8187, allocations: 3.938 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003424/0.819, allocations: 163.1 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.819, allocations: 84.83 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.8192, allocations: 206.9 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.8193, allocations: 33.84 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.8193, allocations: 131 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.8194, allocations: 32.17 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.8195, allocations: 59.69 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.8195, allocations: 328.3 kB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.8196, allocations: 30.45 kB / 1.096 GB, free: 124 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.8198, allocations: 141.2 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.82, allocations: 117 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8201, allocations: 0.75 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002768/0.8203, allocations: 156 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8204, allocations: 7.328 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8204, allocations: 5.312 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.8204, allocations: 2.312 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.8205, allocations: 18.72 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.8205, allocations: 3.266 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.8208, allocations: 33.48 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.8208, allocations: 6.422 kB / 1.096 GB, free: 15.81 MB / 0.8731 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.0001273/0.8209, allocations: 141.7 kB / 1.096 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.821, allocations: 16.73 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.821, allocations: 20.11 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.821, allocations: 6.297 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.821, allocations: 1.641 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.821, allocations: 5.547 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.8217, allocations: 467.2 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8217, allocations: 4.656 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.8217, allocations: 4.672 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8217, allocations: 1.938 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.8217, allocations: 10.36 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.8217, allocations: 0.7812 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8218, allocations: 1.406 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.822, allocations: 238.7 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.8221, allocations: 90.09 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.8221, allocations: 8.219 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.8222, allocations: 14.22 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.8223, allocations: 19.09 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.8223, allocations: 7.078 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001297/0.8225, allocations: 146.9 kB / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8225, allocations: 0 / 1.097 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003516/0.8228, allocations: 48.91 kB / 1.097 GB, free: 14.86 MB / 0.8731 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.0007116/0.8236, allocations: 0.8397 MB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.8238, allocations: 106.6 kB / 1.098 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8238, allocations: 1.062 kB / 1.098 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.8239, allocations: 51 kB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.8244, allocations: 62.34 kB / 1.098 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.8266, allocations: 1.931 MB / 1.1 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.8269, allocations: 0.7231 MB / 1.101 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.759e-05/0.827, allocations: 28.47 kB / 1.101 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.8271, allocations: 55.81 kB / 1.101 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.8271, allocations: 0 / 1.101 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.8523, allocations: 5.52 MB / 1.106 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/8.433, allocations: 12.66 kB / 1.106 GB, free: 11.07 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/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