Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_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.006744/0.006744, allocations: 102 kB / 15.73 MB, free: 6.48 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.001708/0.001708, allocations: 194.6 kB / 16.67 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.03 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3, allocations: 140.4 MB / 1.087 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003754/0.3039, allocations: 1.728 MB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3055, allocations: 0.8969 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.3057, allocations: 3.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.3059, allocations: 27.73 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.3064, allocations: 123.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.3068, allocations: 155.2 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.3072, allocations: 243.3 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.3074, allocations: 41.66 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3076, allocations: 111.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01166/0.3192, allocations: 1.996 MB / 1.093 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.3193, allocations: 20 kB / 1.093 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3194, allocations: 36 kB / 1.093 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.3195, allocations: 39.84 kB / 1.093 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.3197, allocations: 99.48 kB / 1.093 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.3201, allocations: 216.2 kB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3201, allocations: 0 / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3201, allocations: 0 / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.3201, allocations: 0 / 1.093 GB, free: 12.77 MB / 0.8575 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.000841/0.321, allocations: 0.5527 MB / 1.094 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.321, allocations: 12.03 kB / 1.094 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.3211, allocations: 42.73 kB / 1.094 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.3212, allocations: 20.66 kB / 1.094 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.3215, allocations: 243.4 kB / 1.094 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3215, allocations: 12 kB / 1.094 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.3215, allocations: 23.94 kB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3217, allocations: 109.1 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3218, allocations: 4 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.3218, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3218, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3219, allocations: 59.88 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.3228, allocations: 0.5396 MB / 1.095 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.323, allocations: 93.08 kB / 1.095 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.3231, allocations: 45.77 kB / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3231, allocations: 3.938 kB / 1.095 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.3234, allocations: 129.2 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.3234, allocations: 0 / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003705/0.3238, allocations: 157.4 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.3239, allocations: 89.22 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.3241, allocations: 206.2 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.975e-05/0.3241, allocations: 33.7 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.3242, allocations: 124.4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.3243, allocations: 27.61 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.233e-05/0.3244, allocations: 57.69 kB / 1.096 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3245, allocations: 330.8 kB / 1.096 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.3246, allocations: 35.92 kB / 1.096 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.3248, allocations: 145.3 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.325, allocations: 117.2 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.325, allocations: 0 / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002623/0.3253, allocations: 153.5 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3253, allocations: 8 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3253, allocations: 3.984 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3253, allocations: 8.156 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3254, allocations: 23.92 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3255, allocations: 0 / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.3257, allocations: 27.83 kB / 1.096 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3257, allocations: 8 kB / 1.096 GB, free: 9.035 MB / 0.8575 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.0001329/0.3259, allocations: 139.5 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.3259, allocations: 15.81 kB / 1.097 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.326, allocations: 25.52 kB / 1.097 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.326, allocations: 8 kB / 1.097 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.326, allocations: 0 / 1.097 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.326, allocations: 0 / 1.097 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.3266, allocations: 466.2 kB / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3266, allocations: 0 / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-05/0.3266, allocations: 7.938 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3266, allocations: 0 / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3266, allocations: 7.938 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3266, allocations: 4 kB / 1.097 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3266, allocations: 0 / 1.097 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.3269, allocations: 235 kB / 1.097 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.3269, allocations: 88.92 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.327, allocations: 11.94 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3271, allocations: 15.97 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.3272, allocations: 23.92 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3272, allocations: 11.98 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001183/0.3273, allocations: 144.5 kB / 1.098 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3273, allocations: 0 / 1.098 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003748/0.3277, allocations: 51.91 kB / 1.098 GB, free: 7.707 MB / 0.8575 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.0007562/0.3285, allocations: 0.8286 MB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3287, allocations: 108.1 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3287, allocations: 0 / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.3288, allocations: 51.92 kB / 1.099 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.3293, allocations: 57.38 kB / 1.099 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.3313, allocations: 1.914 MB / 1.1 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3315, allocations: 0.7319 MB / 1.101 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.063e-05/0.3316, allocations: 17.55 kB / 1.101 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.3317, allocations: 59.41 kB / 1.101 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.3318, allocations: 0 / 1.101 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.353, allocations: 5.542 MB / 1.107 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.071, allocations: 10.67 kB / 1.107 GB, free: 14.39 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches