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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008629/0.0008628, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009481/0.000948, allocations: 177.2 kB / 16.27 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.428/2.428, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 9.25 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2388, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001883/0.2407, allocations: 1.443 MB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2418, allocations: 0.5969 MB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.2419, allocations: 0 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.2421, allocations: 15.88 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.2424, allocations: 95.59 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.2427, allocations: 134.4 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.243, allocations: 207.4 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.2431, allocations: 25.55 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.2432, allocations: 91.67 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04575/0.289, allocations: 3.187 MB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.2891, allocations: 8 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2892, allocations: 27.98 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.823e-05/0.2892, allocations: 39.77 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2893, allocations: 93.34 kB / 1.065 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.2896, allocations: 179.4 kB / 1.065 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2896, allocations: 4 kB / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2896, allocations: 0 / 1.065 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2896, allocations: 0 / 1.065 GB, free: 15.48 MB / 0.8262 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.0005918/0.2902, allocations: 498.4 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2902, allocations: 15.97 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.2903, allocations: 38.69 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.2903, allocations: 20.75 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2906, allocations: 235.8 kB / 1.066 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2906, allocations: 15.88 kB / 1.066 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.2906, allocations: 16 kB / 1.066 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2908, allocations: 81.66 kB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.2908, allocations: 0 / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2908, allocations: 0 / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2908, allocations: 4 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.2909, allocations: 43.92 kB / 1.066 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.2915, allocations: 456.3 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.2917, allocations: 66.5 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.2917, allocations: 36.78 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2917, allocations: 4 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.2919, allocations: 83.38 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.2919, allocations: 0 / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0002419/0.2921, allocations: 133.5 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.2922, allocations: 59.34 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2923, allocations: 187.1 kB / 1.067 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.2924, allocations: 33.7 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.2925, allocations: 120 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.2925, allocations: 27.8 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.2925, allocations: 21.7 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.2926, allocations: 326.8 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.2927, allocations: 27.98 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.2929, allocations: 118.2 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.293, allocations: 80.23 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.293, allocations: 0 / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001946/0.2932, allocations: 148.1 kB / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2932, allocations: 11.94 kB / 1.068 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2932, allocations: 0 / 1.068 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.2932, allocations: 4 kB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.2933, allocations: 15.92 kB / 1.068 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2933, allocations: 4 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2935, allocations: 27.83 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2935, allocations: 4 kB / 1.068 GB, free: 12.29 MB / 0.8262 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.0001085/0.2936, allocations: 137.9 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.2937, allocations: 19.75 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.2937, allocations: 13.39 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2937, allocations: 4.047 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2937, allocations: 3.984 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2937, allocations: 0 / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.2942, allocations: 450.2 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2942, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.2942, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2942, allocations: 4 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.2942, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2942, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2942, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2944, allocations: 211.8 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.2945, allocations: 100.8 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2945, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.2946, allocations: 15.98 kB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.2947, allocations: 11.98 kB / 1.069 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.2947, allocations: 11.98 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.793e-05/0.2948, allocations: 137.2 kB / 1.069 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2948, allocations: 0 / 1.069 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002653/0.2951, allocations: 43.89 kB / 1.069 GB, free: 11.05 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.6057/0.9007, allocations: 0.8072 MB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.9011, allocations: 79.91 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9011, allocations: 0 / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.9011, allocations: 32 kB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.9016, allocations: 54.86 kB / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.9034, allocations: 1.805 MB / 1.071 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.9036, allocations: 0.7202 MB / 1.072 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.865e-05/0.9037, allocations: 21.53 kB / 1.072 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.9038, allocations: 47.42 kB / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.9038, allocations: 0 / 1.072 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1831/1.087, allocations: 4.577 MB / 1.077 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/1.087, allocations: 274.2 kB / 1.077 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.968, allocations: 3.125 kB / 1.077 GB, free: 2.625 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