Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.006801/0.006801, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001468/0.001468, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 57.38 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2672, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003281/0.2705, allocations: 1.741 MB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.2722, allocations: 0.9007 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2724, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.2726, allocations: 19.73 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.273, allocations: 123.4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.2735, allocations: 163.5 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.2738, allocations: 239.4 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.274, allocations: 45.59 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.2741, allocations: 111.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.2858, allocations: 1.986 MB / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.2859, allocations: 20 kB / 1.093 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.2861, allocations: 39.98 kB / 1.093 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.2861, allocations: 35.91 kB / 1.093 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2863, allocations: 95.5 kB / 1.093 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.2867, allocations: 220.1 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2867, allocations: 3.938 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2867, allocations: 0 / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2867, allocations: 0 / 1.093 GB, free: 12.79 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.0008692/0.2876, allocations: 0.5567 MB / 1.094 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2876, allocations: 8.031 kB / 1.094 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.2877, allocations: 42.75 kB / 1.094 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.2878, allocations: 28.64 kB / 1.094 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2881, allocations: 243.3 kB / 1.094 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.2881, allocations: 8 kB / 1.094 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.2881, allocations: 15.98 kB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.2883, allocations: 117.1 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2884, allocations: 0 / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2884, allocations: 7.984 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2884, allocations: 4 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.2885, allocations: 55.81 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.2894, allocations: 0.5357 MB / 1.095 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.2896, allocations: 93.12 kB / 1.095 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.2897, allocations: 41.89 kB / 1.095 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2897, allocations: 15.92 kB / 1.095 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.29, allocations: 117.1 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.29, allocations: 0 / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003791/0.2904, allocations: 159.3 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.2904, allocations: 89.09 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.2906, allocations: 202.2 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.2907, allocations: 37.83 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2908, allocations: 124.4 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.2909, allocations: 31.61 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.291, allocations: 57.67 kB / 1.096 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2911, allocations: 330.8 kB / 1.096 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.2912, allocations: 43.92 kB / 1.096 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.2915, allocations: 137.3 kB / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2916, allocations: 109.9 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2916, allocations: 0 / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003011/0.2919, allocations: 168.8 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.292, allocations: 8 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.292, allocations: 0 / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.292, allocations: 4 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.2921, allocations: 15.94 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.2921, allocations: 7.984 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.2924, allocations: 31.98 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2924, allocations: 7.938 kB / 1.096 GB, free: 9.051 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.0001501/0.2925, allocations: 143.5 kB / 1.097 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.2926, allocations: 19.8 kB / 1.097 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.2926, allocations: 17.53 kB / 1.097 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2927, allocations: 0 / 1.097 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2927, allocations: 96 / 1.097 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2927, allocations: 7.984 kB / 1.097 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.2933, allocations: 466.2 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2933, allocations: 0 / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.2934, allocations: 4 kB / 1.097 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.2934, allocations: 7.984 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2934, allocations: 7.938 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2934, allocations: 0 / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2934, allocations: 0 / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.2937, allocations: 236 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.2937, allocations: 96.92 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.2938, allocations: 3.938 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.2939, allocations: 15.98 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.294, allocations: 19.97 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.2941, allocations: 4 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000126/0.2942, allocations: 148.4 kB / 1.098 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2942, allocations: 0 / 1.098 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004336/0.2946, allocations: 51.91 kB / 1.098 GB, free: 7.727 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.0007426/0.2954, allocations: 0.8433 MB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.2956, allocations: 95.91 kB / 1.098 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2957, allocations: 0 / 1.098 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.2958, allocations: 59.91 kB / 1.099 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.2962, allocations: 50.8 kB / 1.099 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.2983, allocations: 1.919 MB / 1.1 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.2986, allocations: 0.7202 MB / 1.101 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.255e-05/0.2987, allocations: 25.53 kB / 1.101 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.672e-05/0.2988, allocations: 55.41 kB / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2988, allocations: 0 / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.3205, allocations: 5.544 MB / 1.107 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.877, allocations: 7.797 kB / 1.107 GB, free: 14.41 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches