Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 186 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.463/2.463, allocations: 476.7 MB / 0.7628 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 63.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8041, allocations: 168.7 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002481/0.8066, allocations: 1.771 MB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.8079, allocations: 0.909 MB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.8079, allocations: 5.062 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.8081, allocations: 36.73 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.8084, allocations: 119.2 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.8087, allocations: 154.1 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.8089, allocations: 239.5 kB / 1.275 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.809, allocations: 26.33 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.8091, allocations: 119.2 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0142/0.8233, allocations: 1.996 MB / 1.277 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.8234, allocations: 18.59 kB / 1.277 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.8235, allocations: 36.61 kB / 1.277 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.8236, allocations: 46.38 kB / 1.277 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.8237, allocations: 90.38 kB / 1.277 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.824, allocations: 224.3 kB / 1.277 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.824, allocations: 0 / 1.277 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.824, allocations: 0 / 1.277 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.824, allocations: 0.9062 kB / 1.277 GB, free: 4.828 MB / 0.9981 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.0006498/0.8247, allocations: 0.5546 MB / 1.278 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.8247, allocations: 10.28 kB / 1.278 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.8248, allocations: 48.67 kB / 1.278 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.8248, allocations: 19.44 kB / 1.278 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.825, allocations: 250.3 kB / 1.278 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.825, allocations: 11.05 kB / 1.278 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.8251, allocations: 14.75 kB / 1.278 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.8252, allocations: 115.5 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8253, allocations: 0.9062 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.8253, allocations: 4.938 kB / 1.278 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8253, allocations: 2.844 kB / 1.278 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.8254, allocations: 56.36 kB / 1.278 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.826, allocations: 0.5376 MB / 1.279 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.8262, allocations: 99.11 kB / 1.279 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.8262, allocations: 33.73 kB / 1.279 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.8262, allocations: 5.969 kB / 1.279 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.8264, allocations: 127.4 kB / 1.279 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.8265, allocations: 0 / 1.279 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003/0.8268, allocations: 159.2 kB / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.8268, allocations: 80.95 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.8269, allocations: 201.9 kB / 1.279 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.827, allocations: 33.81 kB / 1.279 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.827, allocations: 120.5 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.827, allocations: 38.08 kB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.8271, allocations: 65.05 kB / 1.28 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.8272, allocations: 328.5 kB / 1.28 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.8272, allocations: 29.75 kB / 1.28 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.8274, allocations: 139.7 kB / 1.28 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.8275, allocations: 116.9 kB / 1.28 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8275, allocations: 4.719 kB / 1.28 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002406/0.8278, allocations: 163.2 kB / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8278, allocations: 6.797 kB / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.8278, allocations: 1.5 kB / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.8278, allocations: 3.766 kB / 1.28 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.8279, allocations: 18.2 kB / 1.28 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.8279, allocations: 2.453 kB / 1.28 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.8281, allocations: 29.12 kB / 1.28 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.8281, allocations: 10.84 kB / 1.28 GB, free: 2.137 MB / 0.9981 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 9.049e-05/0.8282, allocations: 143.5 kB / 1.28 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.8283, allocations: 16.55 kB / 1.28 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.8283, allocations: 28.3 kB / 1.28 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.8283, allocations: 1.656 kB / 1.281 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.8283, allocations: 1.219 kB / 1.281 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.8283, allocations: 2.312 kB / 1.281 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.8288, allocations: 475.2 kB / 1.281 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8288, allocations: 0 / 1.281 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.8288, allocations: 4.734 kB / 1.281 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.8288, allocations: 1.406 kB / 1.281 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.8288, allocations: 6.203 kB / 1.281 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.8288, allocations: 5.828 kB / 1.281 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8288, allocations: 0.625 kB / 1.281 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.829, allocations: 231.3 kB / 1.281 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.829, allocations: 91.22 kB / 1.281 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.8291, allocations: 9.625 kB / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.8292, allocations: 12.31 kB / 1.281 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.8293, allocations: 18.52 kB / 1.281 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.8293, allocations: 7.312 kB / 1.281 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001018/0.8294, allocations: 145.9 kB / 1.281 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8294, allocations: 1 kB / 1.281 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002992/0.8297, allocations: 52.47 kB / 1.282 GB, free: 1.184 MB / 0.9981 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.0005141/0.8302, allocations: 0.836 MB / 1.282 GB, free: 460 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.8304, allocations: 102.7 kB / 1.282 GB, free: 428 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8304, allocations: 4.25 kB / 1.282 GB, free: 424 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.8305, allocations: 52.19 kB / 1.282 GB, free: 404 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.8308, allocations: 57.3 kB / 1.283 GB, free: 388 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.8327, allocations: 1.924 MB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.833, allocations: 0.7242 MB / 1.285 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.6e-05/0.833, allocations: 20.23 kB / 1.285 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.8331, allocations: 59.31 kB / 1.285 GB, free: 14.08 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.8331, allocations: 0 / 1.285 GB, free: 14.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.861, allocations: 5.561 MB / 1.291 GB, free: 13.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.249/8.11, allocations: 9.219 kB / 1.291 GB, free: 13.34 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activate,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activate,scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y [Calling sys.exit(0), Time elapsed: 13.312923670999226]