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.002041/0.002041, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001841/0.001841, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.524/1.524, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 66.17 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.298, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003433/0.3015, allocations: 1.907 MB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3031, allocations: 0.9396 MB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.3033, allocations: 11.94 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.3035, allocations: 23.86 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3038, allocations: 91.66 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.3042, allocations: 143.8 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.3045, allocations: 239.4 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3046, allocations: 41.66 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.3048, allocations: 111.7 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02698/0.3318, allocations: 1.978 MB / 1.058 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3319, allocations: 16 kB / 1.058 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.3321, allocations: 36 kB / 1.058 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3322, allocations: 47.77 kB / 1.058 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.3324, allocations: 95.5 kB / 1.058 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.3329, allocations: 215.3 kB / 1.058 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3329, allocations: 0 / 1.058 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3329, allocations: 4 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3329, allocations: 0 / 1.058 GB, free: 3.305 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.0009421/0.3339, allocations: 0.545 MB / 1.059 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3339, allocations: 12.62 kB / 1.059 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.334, allocations: 42.73 kB / 1.059 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.3341, allocations: 16.75 kB / 1.059 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.3344, allocations: 259.6 kB / 1.059 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.3344, allocations: 16 kB / 1.059 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.3345, allocations: 16 kB / 1.059 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3347, allocations: 109.1 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3347, allocations: 3.938 kB / 1.059 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3348, allocations: 4 kB / 1.059 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3348, allocations: 0 / 1.059 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3349, allocations: 55.97 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.3358, allocations: 0.5473 MB / 1.06 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.336, allocations: 97.27 kB / 1.06 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.3361, allocations: 37.77 kB / 1.06 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3361, allocations: 7.938 kB / 1.06 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.3364, allocations: 121.2 kB / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.3364, allocations: 0 / 1.06 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0004381/0.3368, allocations: 161.3 kB / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.3369, allocations: 81.11 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.3372, allocations: 200.4 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.3373, allocations: 33.64 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.3374, allocations: 124.4 kB / 1.061 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.3375, allocations: 35.53 kB / 1.061 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3376, allocations: 61.81 kB / 1.061 GB, free: 492 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3378, allocations: 330.8 kB / 1.061 GB, free: 152 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.3378, allocations: 31.98 kB / 1.061 GB, free: 120 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.3381, allocations: 137.3 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.3383, allocations: 121.1 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3383, allocations: 0 / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002806/0.3386, allocations: 157.4 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3386, allocations: 8 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3386, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3387, allocations: 4 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.3388, allocations: 27.86 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3388, allocations: 0 / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.339, allocations: 31.83 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.339, allocations: 8 kB / 1.061 GB, free: 15.57 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.0001563/0.3392, allocations: 145.1 kB / 1.062 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.3392, allocations: 15.81 kB / 1.062 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.3393, allocations: 29.61 kB / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3393, allocations: 0 / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3393, allocations: 3.984 kB / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3393, allocations: 0 / 1.062 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.34, allocations: 466.2 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.34, allocations: 3.984 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.34, allocations: 4 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.34, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.34, allocations: 7.938 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3401, allocations: 0 / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3401, allocations: 0 / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.3403, allocations: 235.9 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.3404, allocations: 96.86 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.3404, allocations: 7.938 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3406, allocations: 15.97 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.3407, allocations: 15.98 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.3407, allocations: 4 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000124/0.3408, allocations: 148.2 kB / 1.063 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3408, allocations: 0 / 1.063 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003383/0.3412, allocations: 55.89 kB / 1.063 GB, free: 14.25 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.0007655/0.3419, allocations: 0.8337 MB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.3422, allocations: 111.8 kB / 1.064 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3422, allocations: 320 / 1.064 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.3423, allocations: 55.92 kB / 1.064 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3428, allocations: 46.83 kB / 1.064 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.345, allocations: 1.947 MB / 1.066 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3453, allocations: 0.732 MB / 1.066 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.382e-05/0.3454, allocations: 25.47 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.3455, allocations: 51.42 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3455, allocations: 0 / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7624/1.108, allocations: 5.287 MB / 1.072 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/1.108, allocations: 283.5 kB / 1.072 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.337, allocations: 4 kB / 1.072 GB, free: 4.836 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