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.01189/0.01189, allocations: 103 kB / 15.73 MB, free: 6.035 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.002302/0.002302, allocations: 190 kB / 16.67 MB, free: 5.965 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 79.81 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3099, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003537/0.3135, allocations: 1.63 MB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3147, allocations: 0.5621 MB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.3149, allocations: 0 / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.3152, allocations: 31.72 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.3157, allocations: 115.5 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.3162, allocations: 148.6 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.3165, allocations: 219.5 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3167, allocations: 25.53 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3169, allocations: 99.72 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009594/0.3265, allocations: 1.574 MB / 1.212 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.3266, allocations: 16 kB / 1.212 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.3267, allocations: 39.98 kB / 1.212 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.3268, allocations: 31.91 kB / 1.212 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3269, allocations: 83.56 kB / 1.212 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.3273, allocations: 195.4 kB / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3273, allocations: 0 / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3273, allocations: 0 / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3274, allocations: 0 / 1.212 GB, free: 5.754 MB / 0.9669 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.0007934/0.3282, allocations: 0.5255 MB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3282, allocations: 12.62 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.3283, allocations: 34.75 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.3283, allocations: 24.73 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.3286, allocations: 235.7 kB / 1.213 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3286, allocations: 4 kB / 1.213 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3287, allocations: 19.98 kB / 1.213 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3289, allocations: 81.66 kB / 1.213 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3289, allocations: 0 / 1.213 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3289, allocations: 4 kB / 1.213 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3289, allocations: 4 kB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.329, allocations: 43.97 kB / 1.213 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.3298, allocations: 440.4 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3299, allocations: 66.56 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.33, allocations: 29.03 kB / 1.213 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.33, allocations: 7.938 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.3303, allocations: 87.22 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.552e-06/0.3303, allocations: 4 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0002979/0.3306, allocations: 129.8 kB / 1.214 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3306, allocations: 59.33 kB / 1.214 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3308, allocations: 191 kB / 1.214 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.3309, allocations: 33.64 kB / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.331, allocations: 120 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.331, allocations: 31.77 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.3311, allocations: 49.69 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3313, allocations: 326.8 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.3313, allocations: 27.98 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.3316, allocations: 121.5 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3317, allocations: 87.23 kB / 1.215 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3317, allocations: 0 / 1.215 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002303/0.3319, allocations: 137.4 kB / 1.215 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.332, allocations: 11.94 kB / 1.215 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.332, allocations: 0 / 1.215 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.332, allocations: 4 kB / 1.215 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.3321, allocations: 19.92 kB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3321, allocations: 8.125 kB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.3323, allocations: 19.92 kB / 1.215 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3323, allocations: 4 kB / 1.215 GB, free: 2.508 MB / 0.9669 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.0001245/0.3324, allocations: 128.9 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.3325, allocations: 19.75 kB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.3325, allocations: 21.39 kB / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3325, allocations: 0 / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3325, allocations: 0 / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3326, allocations: 4 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.3331, allocations: 438.2 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3331, allocations: 4 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.3331, allocations: 3.938 kB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3331, allocations: 0 / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3331, allocations: 8 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3332, allocations: 0 / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3332, allocations: 0 / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.3334, allocations: 207.3 kB / 1.216 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.3334, allocations: 100.8 kB / 1.216 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3335, allocations: 3.984 kB / 1.216 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.3336, allocations: 7.984 kB / 1.216 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.3336, allocations: 15.98 kB / 1.216 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.3337, allocations: 4 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001207/0.3338, allocations: 136.1 kB / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3338, allocations: 0 / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003011/0.3341, allocations: 40 kB / 1.216 GB, free: 1.289 MB / 0.9669 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.0007124/0.3348, allocations: 0.8064 MB / 1.217 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.335, allocations: 79.89 kB / 1.217 GB, free: 412 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.335, allocations: 0 / 1.217 GB, free: 412 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.3351, allocations: 40.17 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.3355, allocations: 49.61 kB / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.3375, allocations: 1.781 MB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3378, allocations: 0.7124 MB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.853e-05/0.3379, allocations: 21.53 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.338, allocations: 43.42 kB / 1.219 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.338, allocations: 4 kB / 1.219 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.3621, allocations: 5.119 MB / 1.224 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.254, allocations: 2.812 kB / 1.224 GB, free: 8.691 MB / 0.9825 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