Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_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.001866/0.001866, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002226/0.002227, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 62.72 kB / 0.8992 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3027, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003536/0.3063, allocations: 1.747 MB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.308, allocations: 0.9127 MB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.3081, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.3083, allocations: 31.72 kB / 1.056 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.3087, allocations: 119.4 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.3092, allocations: 158.8 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.3095, allocations: 231.5 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3096, allocations: 37.61 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3098, allocations: 115.7 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01192/0.3217, allocations: 1.969 MB / 1.058 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.3218, allocations: 16 kB / 1.058 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3219, allocations: 39.98 kB / 1.058 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.322, allocations: 35.84 kB / 1.058 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3221, allocations: 103.5 kB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.3225, allocations: 215.3 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3225, allocations: 3.984 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3225, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3225, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 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.0008702/0.3234, allocations: 0.5489 MB / 1.059 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3234, allocations: 12.62 kB / 1.059 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.3235, allocations: 38.75 kB / 1.059 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.3236, allocations: 24.73 kB / 1.059 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.3239, allocations: 247.7 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3239, allocations: 15.94 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.3239, allocations: 16 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3241, allocations: 112.2 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3242, allocations: 0 / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3242, allocations: 15.92 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3242, allocations: 0 / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.3243, allocations: 55.97 kB / 1.06 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.3252, allocations: 0.5356 MB / 1.06 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3254, allocations: 101.1 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.3255, allocations: 41.77 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3255, allocations: 3.938 kB / 1.06 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.3257, allocations: 129.1 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3257, allocations: 0 / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003378/0.3261, allocations: 165.3 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3262, allocations: 85.09 kB / 1.061 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3264, allocations: 188.4 kB / 1.061 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.3264, allocations: 37.69 kB / 1.061 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.3265, allocations: 128.4 kB / 1.061 GB, free: 396 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.3265, allocations: 27.56 kB / 1.061 GB, free: 368 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3266, allocations: 65.66 kB / 1.061 GB, free: 296 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3268, allocations: 334.9 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.3269, allocations: 31.98 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3271, allocations: 135.4 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3273, allocations: 117.1 kB / 1.062 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3273, allocations: 0 / 1.062 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002601/0.3275, allocations: 153.5 kB / 1.062 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3276, allocations: 12.03 kB / 1.062 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3276, allocations: 0 / 1.062 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3276, allocations: 4 kB / 1.062 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.3277, allocations: 19.92 kB / 1.062 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3277, allocations: 0 / 1.062 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.3279, allocations: 27.83 kB / 1.062 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.328, allocations: 8 kB / 1.062 GB, free: 15.4 MB / 0.8262 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.0001262/0.3281, allocations: 147.5 kB / 1.062 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.3281, allocations: 23.8 kB / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.3282, allocations: 17.53 kB / 1.062 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3282, allocations: 4 kB / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3282, allocations: 0 / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3282, allocations: 0 / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.3288, allocations: 466.2 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3289, allocations: 7.938 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.3289, allocations: 11.98 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3289, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3289, allocations: 11.94 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3289, allocations: 3.938 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3289, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.3292, allocations: 224.2 kB / 1.063 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.3292, allocations: 96.86 kB / 1.063 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.3293, allocations: 7.938 kB / 1.063 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3294, allocations: 15.98 kB / 1.063 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.3295, allocations: 19.97 kB / 1.063 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3295, allocations: 4 kB / 1.063 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001284/0.3296, allocations: 148.2 kB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3296, allocations: 0 / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003202/0.33, allocations: 47.89 kB / 1.063 GB, free: 14.07 MB / 0.8262 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.0007238/0.3307, allocations: 0.8341 MB / 1.064 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3309, allocations: 111.8 kB / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.331, allocations: 0 / 1.064 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.527e-05/0.3311, allocations: 52.22 kB / 1.064 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3315, allocations: 54.95 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.3335, allocations: 1.914 MB / 1.066 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3338, allocations: 0.7242 MB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.232e-05/0.3339, allocations: 21.55 kB / 1.067 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.27e-05/0.334, allocations: 60.66 kB / 1.067 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.334, allocations: 0 / 1.067 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.3574, allocations: 5.488 MB / 1.072 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.898, allocations: 4.5 kB / 1.072 GB, free: 4.828 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches