Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_11_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.00763/0.00763, allocations: 97.62 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.002174/0.002174, allocations: 201.2 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.453/1.453, 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 11.1.0-maint.11.x/package.mo): time 2.853/2.853, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.88 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2928, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003506/0.2963, allocations: 1.756 MB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.298, allocations: 0.8891 MB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.2981, allocations: 4 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.2983, allocations: 23.73 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.2987, allocations: 115.4 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2991, allocations: 151.7 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.2994, allocations: 239.4 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2995, allocations: 49.58 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.2997, allocations: 111.7 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.3131, allocations: 1.669 MB / 1.225 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.3132, allocations: 16 kB / 1.225 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3133, allocations: 40 kB / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.3134, allocations: 43.83 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3135, allocations: 95.48 kB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.3139, allocations: 211.2 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.314, allocations: 4 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.314, allocations: 0 / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.314, allocations: 0 / 1.225 GB, free: 9.383 MB / 0.9825 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.0008829/0.3149, allocations: 0.5603 MB / 1.226 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3149, allocations: 12.03 kB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.315, allocations: 38.73 kB / 1.226 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.315, allocations: 20.84 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.3153, allocations: 251.3 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3154, allocations: 15.94 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3154, allocations: 12 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.3156, allocations: 124.8 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3157, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3157, allocations: 0 / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3157, allocations: 4 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3158, allocations: 51.97 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.3167, allocations: 0.5435 MB / 1.227 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.3169, allocations: 97.08 kB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.317, allocations: 41.77 kB / 1.227 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.317, allocations: 3.938 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.3173, allocations: 125.1 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3173, allocations: 0 / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003589/0.3176, allocations: 161.5 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.3177, allocations: 85.23 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.3179, allocations: 200.3 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.318, allocations: 33.7 kB / 1.228 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3181, allocations: 116.5 kB / 1.228 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3181, allocations: 43.72 kB / 1.228 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.3182, allocations: 57.64 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3184, allocations: 330.8 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.3185, allocations: 31.98 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.3188, allocations: 146.4 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3189, allocations: 117.7 kB / 1.229 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3189, allocations: 4 kB / 1.229 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002768/0.3192, allocations: 157.4 kB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3192, allocations: 4 kB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3193, allocations: 4 kB / 1.229 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3193, allocations: 4.156 kB / 1.229 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.3194, allocations: 23.92 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3194, allocations: 4 kB / 1.229 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.3196, allocations: 23.88 kB / 1.229 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.3197, allocations: 16 kB / 1.229 GB, free: 5.625 MB / 0.9825 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.000144/0.3198, allocations: 143.5 kB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.3198, allocations: 15.91 kB / 1.229 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.3199, allocations: 17.53 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3199, allocations: 8 kB / 1.229 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3199, allocations: 3.984 kB / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3199, allocations: 0 / 1.229 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.3206, allocations: 470.1 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3206, allocations: 3.984 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.3206, allocations: 7.938 kB / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3206, allocations: 0 / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3206, allocations: 3.938 kB / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3207, allocations: 8 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3207, allocations: 0 / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3209, allocations: 224.3 kB / 1.23 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.321, allocations: 92.95 kB / 1.23 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.321, allocations: 7.938 kB / 1.23 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3212, allocations: 15.97 kB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.3213, allocations: 19.98 kB / 1.23 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.3213, allocations: 12 kB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001445/0.3214, allocations: 140.2 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3214, allocations: 7.875 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003342/0.3218, allocations: 55.88 kB / 1.23 GB, free: 4.285 MB / 0.9825 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.0008376/0.3226, allocations: 0.8284 MB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.3229, allocations: 103.6 kB / 1.231 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3229, allocations: 3.938 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.323, allocations: 47.92 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.3234, allocations: 67.41 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.3258, allocations: 1.946 MB / 1.233 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3261, allocations: 0.7203 MB / 1.234 GB, free: 440 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.3262, allocations: 21.53 kB / 1.234 GB, free: 420 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3263, allocations: 55.41 kB / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.3263, allocations: 0 / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.3549, allocations: 5.54 MB / 1.239 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.441, allocations: 16.11 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches