Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.002127/0.002127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002202/0.002202, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 65.62 kB / 0.8985 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3128, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003603/0.3164, allocations: 1.891 MB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3182, allocations: 0.9435 MB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.3184, allocations: 0 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3186, allocations: 31.78 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.3191, allocations: 87.67 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.3195, allocations: 142.8 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.3198, allocations: 231.3 kB / 1.055 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3199, allocations: 29.69 kB / 1.055 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3201, allocations: 107.6 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02714/0.3473, allocations: 1.86 MB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.812e-05/0.3474, allocations: 8 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3475, allocations: 28 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.3476, allocations: 39.81 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3477, allocations: 79.58 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.348, allocations: 215.2 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.348, allocations: 4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.348, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.348, allocations: 0 / 1.058 GB, free: 2.961 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008151/0.3488, allocations: 0.5411 MB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3488, allocations: 8.031 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.3489, allocations: 42.73 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.349, allocations: 20.75 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.3492, allocations: 255.1 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3493, allocations: 12 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.3493, allocations: 12 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.3495, allocations: 85.66 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.3495, allocations: 0 / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3495, allocations: 4 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3495, allocations: 7.984 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3496, allocations: 51.94 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.3504, allocations: 472.3 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.3508, allocations: 138.7 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.3509, allocations: 32.84 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3509, allocations: 4 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.3511, allocations: 118 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3511, allocations: 0 / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003285/0.3514, allocations: 165.3 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3515, allocations: 55.41 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3517, allocations: 200.3 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.3517, allocations: 33.7 kB / 1.06 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.3518, allocations: 116.5 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.3519, allocations: 43.47 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/0.352, allocations: 57.69 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3521, allocations: 334.8 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.3522, allocations: 31.98 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.3524, allocations: 133.7 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3526, allocations: 98.67 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3526, allocations: 4 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002471/0.3528, allocations: 153.3 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3529, allocations: 7.938 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3529, allocations: 0 / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.3529, allocations: 8.125 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.353, allocations: 15.94 kB / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.353, allocations: 0 / 1.061 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.3532, allocations: 31.81 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3532, allocations: 12 kB / 1.061 GB, free: 15.43 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: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001209/0.3533, allocations: 135.5 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.3534, allocations: 15.81 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.3534, allocations: 25.86 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3534, allocations: 4 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3534, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3535, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006451/0.3541, allocations: 498 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3541, allocations: 0 / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.3541, allocations: 4 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3542, allocations: 4 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3542, allocations: 11.94 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3542, allocations: 0 / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3542, allocations: 0 / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3544, allocations: 234 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.3545, allocations: 88.92 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.3545, allocations: 7.922 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3547, allocations: 19.98 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.3547, allocations: 19.97 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.3548, allocations: 8 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001217/0.3549, allocations: 144.2 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3549, allocations: 0 / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003079/0.3552, allocations: 47.94 kB / 1.062 GB, free: 14.09 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0007153/0.3559, allocations: 0.839 MB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.3562, allocations: 103.8 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3562, allocations: 0 / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3563, allocations: 59 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3567, allocations: 51.59 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.3587, allocations: 1.913 MB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3589, allocations: 0.7245 MB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.115e-05/0.359, allocations: 17.55 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.3591, allocations: 55.41 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of SimCode: time 1.403e-06/0.3591, allocations: 3.938 kB / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.3762, allocations: 5.203 MB / 1.071 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.3765, allocations: 280.1 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.223, allocations: 0 / 1.071 GB, free: 4.805 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches