Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 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.001206/0.001206, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 69.8 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2973, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00328/0.3006, allocations: 1.642 MB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3019, allocations: 0.5659 MB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3021, allocations: 4 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.3023, allocations: 31.72 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004377/0.3028, allocations: 107.5 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.3032, allocations: 150.8 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.3036, allocations: 211.6 kB / 1.056 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3037, allocations: 29.53 kB / 1.056 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3039, allocations: 95.69 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009072/0.3129, allocations: 1.566 MB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.313, allocations: 16 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3131, allocations: 35.97 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.3132, allocations: 31.91 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3133, allocations: 87.5 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.3137, allocations: 183.5 kB / 1.058 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3137, allocations: 0 / 1.058 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3137, allocations: 0 / 1.058 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3137, allocations: 0 / 1.058 GB, free: 3.945 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007554/0.3145, allocations: 0.5255 MB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3145, allocations: 12.62 kB / 1.058 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.3146, allocations: 34.75 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.3146, allocations: 24.73 kB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3149, allocations: 243.6 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3149, allocations: 12 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.315, allocations: 12 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3152, allocations: 81.66 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3152, allocations: 0 / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3152, allocations: 8 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3152, allocations: 0 / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.3153, allocations: 47.91 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.316, allocations: 444.4 kB / 1.059 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3162, allocations: 66.5 kB / 1.059 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.3163, allocations: 32.84 kB / 1.059 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3163, allocations: 0 / 1.059 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.3165, allocations: 87.38 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3165, allocations: 3.938 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0002817/0.3168, allocations: 129.5 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.3168, allocations: 63.39 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.317, allocations: 187 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.317, allocations: 29.7 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.3171, allocations: 116 kB / 1.06 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3172, allocations: 27.78 kB / 1.06 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.3172, allocations: 57.67 kB / 1.06 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3174, allocations: 326.8 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.3174, allocations: 23.98 kB / 1.06 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.3177, allocations: 119.7 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3178, allocations: 96.11 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3178, allocations: 0 / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002254/0.318, allocations: 133 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3181, allocations: 7.938 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3181, allocations: 128 / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3181, allocations: 11.98 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.383e-05/0.3182, allocations: 19.94 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3182, allocations: 0 / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3184, allocations: 19.83 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3184, allocations: 12 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001166/0.3185, allocations: 123.4 kB / 1.061 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3186, allocations: 23.78 kB / 1.061 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.3186, allocations: 21.39 kB / 1.061 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3186, allocations: 7.938 kB / 1.061 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3186, allocations: 4 kB / 1.061 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3186, allocations: 0 / 1.061 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.3192, allocations: 430.2 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3192, allocations: 0 / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.3192, allocations: 4 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3192, allocations: 0 / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3192, allocations: 0 / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3192, allocations: 4 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3192, allocations: 0 / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.3195, allocations: 211.8 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.3195, allocations: 92.95 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3196, allocations: 4 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.3197, allocations: 11.98 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.3197, allocations: 15.86 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3198, allocations: 12 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001298/0.3199, allocations: 136.1 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3199, allocations: 0 / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003139/0.3202, allocations: 43.91 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007411/0.321, allocations: 0.7945 MB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.3212, allocations: 91.78 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3212, allocations: 0 / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.3213, allocations: 39.92 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.3217, allocations: 45.56 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.3236, allocations: 1.769 MB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3239, allocations: 0.7163 MB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.32e-05/0.324, allocations: 25.47 kB / 1.065 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.324, allocations: 47.42 kB / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3241, allocations: 0 / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.3482, allocations: 4.962 MB / 1.07 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.826, allocations: 7.844 kB / 1.07 GB, free: 7.004 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches