Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001454/0.001454, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001402/0.001402, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.34 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.47/2.47, allocations: 476.7 MB / 0.7628 GB, free: 15.31 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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 1.107 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7413/0.7433, allocations: 168.7 MB / 1.271 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002497/0.7458, allocations: 1.766 MB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.747, allocations: 0.9211 MB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.7471, allocations: 1.25 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.7472, allocations: 26.58 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.7475, allocations: 122.5 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.7478, allocations: 151.7 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.748, allocations: 239.8 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.7481, allocations: 26.42 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.7483, allocations: 118.5 kB / 1.275 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.7603, allocations: 1.705 MB / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.7604, allocations: 17.88 kB / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.7605, allocations: 37.69 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.7605, allocations: 40.14 kB / 1.276 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.7606, allocations: 91.25 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.761, allocations: 218.5 kB / 1.277 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.761, allocations: 4.938 kB / 1.277 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.761, allocations: 0 / 1.277 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.761, allocations: 0 / 1.277 GB, free: 5.152 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006375/0.7616, allocations: 0.5552 MB / 1.277 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.7617, allocations: 9.969 kB / 1.277 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.7617, allocations: 39.27 kB / 1.277 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.7617, allocations: 31.97 kB / 1.277 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.7619, allocations: 237.9 kB / 1.278 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.762, allocations: 10.78 kB / 1.278 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.762, allocations: 14.81 kB / 1.278 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7622, allocations: 99.58 kB / 1.278 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7622, allocations: 0 / 1.278 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.7622, allocations: 5.891 kB / 1.278 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.7622, allocations: 2.031 kB / 1.278 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.704e-05/0.7623, allocations: 55.89 kB / 1.278 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.7629, allocations: 462.9 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.7633, allocations: 130.6 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.7633, allocations: 34.47 kB / 1.278 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.7634, allocations: 1.812 kB / 1.278 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.7635, allocations: 112.3 kB / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.7635, allocations: 0 / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0002996/0.7638, allocations: 168.5 kB / 1.279 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.7639, allocations: 60.78 kB / 1.279 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.764, allocations: 199.5 kB / 1.279 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.764, allocations: 33.42 kB / 1.279 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.7641, allocations: 118 kB / 1.279 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.7641, allocations: 43.27 kB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.829e-05/0.7642, allocations: 55.55 kB / 1.279 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.7642, allocations: 329 kB / 1.279 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.7643, allocations: 39.06 kB / 1.279 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.7645, allocations: 128 kB / 1.28 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.7646, allocations: 99.3 kB / 1.28 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7646, allocations: 0 / 1.28 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002241/0.7648, allocations: 163.7 kB / 1.28 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7649, allocations: 6.891 kB / 1.28 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7649, allocations: 1.406 kB / 1.28 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.7649, allocations: 1.781 kB / 1.28 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.7649, allocations: 18.78 kB / 1.28 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7649, allocations: 2.125 kB / 1.28 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.7651, allocations: 28.89 kB / 1.28 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.7652, allocations: 9.062 kB / 1.28 GB, free: 2.68 MB / 0.9981 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 8.491e-05/0.7652, allocations: 147.7 kB / 1.28 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.7653, allocations: 16.47 kB / 1.28 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.7653, allocations: 19.28 kB / 1.28 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7653, allocations: 1.5 kB / 1.28 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7653, allocations: 0.7812 kB / 1.28 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7653, allocations: 4.703 kB / 1.28 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.7659, allocations: 494.5 kB / 1.281 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7659, allocations: 1.125 kB / 1.281 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.7659, allocations: 11.95 kB / 1.281 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.7659, allocations: 1.656 kB / 1.281 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.7659, allocations: 9.688 kB / 1.281 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.7659, allocations: 1.5 kB / 1.281 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7659, allocations: 0.5625 kB / 1.281 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.7661, allocations: 230.6 kB / 1.281 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.7661, allocations: 89.91 kB / 1.281 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.7662, allocations: 10.31 kB / 1.281 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7663, allocations: 10.97 kB / 1.281 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.7664, allocations: 20.84 kB / 1.281 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.7664, allocations: 10.2 kB / 1.281 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001014/0.7665, allocations: 146.5 kB / 1.281 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7665, allocations: 0 / 1.281 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002955/0.7668, allocations: 52.47 kB / 1.281 GB, free: 1.723 MB / 0.9981 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.0005587/0.7673, allocations: 0.826 MB / 1.282 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.7675, allocations: 110.3 kB / 1.282 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7675, allocations: 4.25 kB / 1.282 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.7676, allocations: 48.2 kB / 1.282 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.768, allocations: 64.34 kB / 1.282 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.7697, allocations: 1.914 MB / 1.284 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.77, allocations: 0.7234 MB / 1.285 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.482e-05/0.7701, allocations: 21.12 kB / 1.285 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.7702, allocations: 57.28 kB / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7702, allocations: 0 / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.8, allocations: 5.611 MB / 1.29 GB, free: 13.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/8.111, allocations: 10 kB / 1.29 GB, free: 13.93 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.activate,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],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.358559382999374]