Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.009569/0.009569, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002252/0.002251, allocations: 190.4 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.488/2.488, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 61.47 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2904, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003067/0.2936, allocations: 1.743 MB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.2953, allocations: 0.893 MB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2954, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.2957, allocations: 35.66 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.2962, allocations: 119.4 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.2966, allocations: 147.2 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.297, allocations: 247.3 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.2971, allocations: 37.66 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2973, allocations: 111.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.3093, allocations: 2.023 MB / 1.093 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.761e-05/0.3094, allocations: 16 kB / 1.093 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3096, allocations: 39.98 kB / 1.093 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.3097, allocations: 31.91 kB / 1.093 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.3098, allocations: 103.4 kB / 1.093 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.3102, allocations: 212.2 kB / 1.093 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3102, allocations: 4 kB / 1.093 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3102, allocations: 4 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.3102, allocations: 0 / 1.093 GB, free: 12.75 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008317/0.3111, allocations: 0.545 MB / 1.094 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3111, allocations: 12.03 kB / 1.094 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.3112, allocations: 46.67 kB / 1.094 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.3113, allocations: 28.59 kB / 1.094 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3116, allocations: 239.3 kB / 1.094 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3116, allocations: 16 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.3116, allocations: 11.98 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3118, allocations: 95.36 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3118, allocations: 3.938 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3119, allocations: 4 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3119, allocations: 4 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.312, allocations: 51.92 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008224/0.3128, allocations: 468.2 kB / 1.095 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.3133, allocations: 138.7 kB / 1.095 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.3134, allocations: 36.84 kB / 1.095 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3134, allocations: 0 / 1.095 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.3137, allocations: 114.3 kB / 1.095 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.3137, allocations: 0 / 1.095 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003744/0.3141, allocations: 161.4 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3141, allocations: 59.39 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3144, allocations: 202.2 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.3144, allocations: 33.7 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.3145, allocations: 128.4 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.3145, allocations: 31.56 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.3146, allocations: 57.67 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3148, allocations: 326.8 kB / 1.096 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.846e-05/0.3148, allocations: 31.98 kB / 1.096 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.3151, allocations: 133.2 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3152, allocations: 110.8 kB / 1.096 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3152, allocations: 0 / 1.096 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002563/0.3155, allocations: 153.3 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3155, allocations: 8 kB / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3155, allocations: 0 / 1.096 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3156, allocations: 4 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.3156, allocations: 15.98 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3157, allocations: 3.938 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.3159, allocations: 31.95 kB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3159, allocations: 4 kB / 1.096 GB, free: 9.215 MB / 0.8575 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.0001289/0.316, allocations: 143.5 kB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.3161, allocations: 15.81 kB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.3161, allocations: 17.88 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3161, allocations: 3.984 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3161, allocations: 0 / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3162, allocations: 3.938 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.3168, allocations: 0.4903 MB / 1.097 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3168, allocations: 0 / 1.097 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.3169, allocations: 11.92 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3169, allocations: 0 / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3169, allocations: 7.984 kB / 1.097 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3169, allocations: 4 kB / 1.097 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3169, allocations: 3.984 kB / 1.097 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3172, allocations: 238.9 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.3172, allocations: 88.92 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.3172, allocations: 3.938 kB / 1.097 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3174, allocations: 15.98 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.3175, allocations: 19.97 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.3175, allocations: 8 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001159/0.3176, allocations: 144.4 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3176, allocations: 0 / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003143/0.3179, allocations: 51.92 kB / 1.097 GB, free: 7.863 MB / 0.8575 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.0007304/0.3187, allocations: 0.828 MB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3189, allocations: 111.6 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3189, allocations: 4 kB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.319, allocations: 52.17 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.3195, allocations: 56.89 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3214, allocations: 1.884 MB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3217, allocations: 0.7203 MB / 1.101 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.3218, allocations: 25.55 kB / 1.101 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.3219, allocations: 55.41 kB / 1.101 GB, free: 4 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3219, allocations: 0 / 1.101 GB, free: 4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.3492, allocations: 5.604 MB / 1.107 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.902, allocations: 2.578 kB / 1.107 GB, free: 14.54 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches