Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_10_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.0008958/0.0008958, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005614/0.005615, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003451, allocations: 8 kB / 0.8729 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6345/0.6348, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002091/0.637, allocations: 1.535 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.6385, allocations: 0.9321 MB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.6386, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.6388, allocations: 27.84 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.6391, allocations: 87.61 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.6395, allocations: 139.8 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.6398, allocations: 231.3 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.6399, allocations: 37.58 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.6401, allocations: 99.67 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05525/0.6953, allocations: 3.6 MB / 1.03 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.6954, allocations: 8 kB / 1.03 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.6956, allocations: 35.92 kB / 1.03 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.6956, allocations: 31.84 kB / 1.03 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.6958, allocations: 105.3 kB / 1.03 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.6961, allocations: 199.3 kB / 1.03 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.6961, allocations: 0 / 1.03 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6961, allocations: 7.938 kB / 1.03 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.6961, allocations: 0 / 1.03 GB, free: 9.695 MB / 0.7794 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.0007634/0.6969, allocations: 0.5139 MB / 1.031 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6969, allocations: 16.03 kB / 1.031 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.267e-05/0.697, allocations: 50.73 kB / 1.031 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.697, allocations: 16.75 kB / 1.031 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.6973, allocations: 247.2 kB / 1.031 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.6973, allocations: 8 kB / 1.031 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.6974, allocations: 12 kB / 1.031 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.6976, allocations: 93.64 kB / 1.031 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.6976, allocations: 0 / 1.031 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.6976, allocations: 7.984 kB / 1.031 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.6976, allocations: 4 kB / 1.031 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.6977, allocations: 51.97 kB / 1.031 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.6986, allocations: 480.3 kB / 1.031 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.6991, allocations: 150.7 kB / 1.032 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.6992, allocations: 36.84 kB / 1.032 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.6992, allocations: 4 kB / 1.032 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.6994, allocations: 111.3 kB / 1.032 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.6994, allocations: 0 / 1.032 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003345/0.6997, allocations: 172.6 kB / 1.032 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.6998, allocations: 55.41 kB / 1.032 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.7, allocations: 198.5 kB / 1.032 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.7, allocations: 33.7 kB / 1.032 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.7001, allocations: 124.5 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.7002, allocations: 35.55 kB / 1.032 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.7002, allocations: 29.7 kB / 1.032 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7003, allocations: 330.8 kB / 1.033 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.821e-05/0.7004, allocations: 31.98 kB / 1.033 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.7006, allocations: 134.3 kB / 1.033 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.7008, allocations: 103.7 kB / 1.033 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7008, allocations: 0 / 1.033 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002446/0.701, allocations: 153.3 kB / 1.033 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7011, allocations: 4 kB / 1.033 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.7011, allocations: 3.938 kB / 1.033 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.7011, allocations: 4.125 kB / 1.033 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.7012, allocations: 23.92 kB / 1.033 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7012, allocations: 4 kB / 1.033 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.7014, allocations: 31.83 kB / 1.033 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.7014, allocations: 8 kB / 1.033 GB, free: 6.18 MB / 0.7794 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.0001293/0.7016, allocations: 135.5 kB / 1.033 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.7016, allocations: 19.8 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.7017, allocations: 25.88 kB / 1.033 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7017, allocations: 4 kB / 1.033 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7017, allocations: 0 / 1.033 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7017, allocations: 0 / 1.033 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.7028, allocations: 0.5021 MB / 1.034 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.7028, allocations: 0 / 1.034 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.35e-05/0.7029, allocations: 0 / 1.034 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7029, allocations: 4 kB / 1.034 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.7029, allocations: 4 kB / 1.034 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.7029, allocations: 3.938 kB / 1.034 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7029, allocations: 4 kB / 1.034 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.7031, allocations: 239.2 kB / 1.034 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.7032, allocations: 100.8 kB / 1.034 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.7032, allocations: 7.938 kB / 1.034 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.7034, allocations: 19.92 kB / 1.034 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.7035, allocations: 19.97 kB / 1.034 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.7035, allocations: 7.984 kB / 1.034 GB, free: 5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001217/0.7036, allocations: 143.2 kB / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7036, allocations: 0 / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003161/0.7039, allocations: 47.89 kB / 1.034 GB, free: 4.812 MB / 0.7794 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.0007253/0.7047, allocations: 0.8495 MB / 1.035 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.7049, allocations: 91.91 kB / 1.035 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7049, allocations: 4.25 kB / 1.035 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.705, allocations: 59.86 kB / 1.035 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.7055, allocations: 58.72 kB / 1.035 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.7075, allocations: 1.903 MB / 1.037 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.7077, allocations: 0.7245 MB / 1.038 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.324e-05/0.7078, allocations: 21.55 kB / 1.038 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.7079, allocations: 55.41 kB / 1.038 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7079, allocations: 0 / 1.038 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.7384, allocations: 5.075 MB / 1.043 GB, free: 12.05 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/0.7387, allocations: 292.2 kB / 1.043 GB, free: 11.67 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.732, allocations: 0 / 1.043 GB, free: 11.67 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches