Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008725/0.008726, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.00193/0.00193, allocations: 202 kB / 16.79 MB, free: 6.215 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.463/1.463, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.659, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002834/0.6618, allocations: 1.891 MB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.6632, allocations: 0.9486 MB / 0.9523 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.6633, allocations: 2.094 kB / 0.9523 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.6635, allocations: 23.69 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.6638, allocations: 86.89 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.6641, allocations: 141.3 kB / 0.9526 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.6643, allocations: 229.6 kB / 0.9528 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.6644, allocations: 33.56 kB / 0.9528 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.6646, allocations: 107 kB / 0.9529 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02722/0.6918, allocations: 1.861 MB / 0.9547 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.6919, allocations: 10.28 kB / 0.9548 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.6921, allocations: 26.88 kB / 0.9548 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.6922, allocations: 37.97 kB / 0.9548 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.6923, allocations: 87.73 kB / 0.9549 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.6926, allocations: 150.8 kB / 0.955 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6926, allocations: 0 / 0.955 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.11e-07/0.6926, allocations: 0 / 0.955 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.6926, allocations: 1.125 kB / 0.955 GB, free: 5.668 MB / 0.7169 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.00085/0.6935, allocations: 0.5456 MB / 0.9556 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.6935, allocations: 13.31 kB / 0.9556 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.6936, allocations: 20.09 kB / 0.9556 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.6939, allocations: 246.5 kB / 0.9558 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.6939, allocations: 9.906 kB / 0.9559 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.694, allocations: 14.69 kB / 0.9559 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.6942, allocations: 88.09 kB / 0.956 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6942, allocations: 0 / 0.956 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.6942, allocations: 5.516 kB / 0.956 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6942, allocations: 2.844 kB / 0.956 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.6944, allocations: 52.62 kB / 0.956 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.6951, allocations: 469 kB / 0.9565 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.6955, allocations: 140.8 kB / 0.9566 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.301e-05/0.6956, allocations: 35.12 kB / 0.9566 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.6957, allocations: 3.938 kB / 0.9566 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.6959, allocations: 122.5 kB / 0.9568 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.6959, allocations: 1.406 kB / 0.9568 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003761/0.6962, allocations: 163.3 kB / 0.9569 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.6963, allocations: 58.31 kB / 0.957 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.6965, allocations: 198.8 kB / 0.9572 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.6965, allocations: 33.3 kB / 0.9572 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.6966, allocations: 126.2 kB / 0.9573 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.6966, allocations: 33.02 kB / 0.9573 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/0.6967, allocations: 56.19 kB / 0.9574 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.6968, allocations: 330.9 kB / 0.9577 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.6968, allocations: 35.23 kB / 0.9577 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.6971, allocations: 126 kB / 0.9579 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.6972, allocations: 102.7 kB / 0.958 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6972, allocations: 1.375 kB / 0.958 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002449/0.6975, allocations: 158.8 kB / 0.9581 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6975, allocations: 5.344 kB / 0.9581 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6975, allocations: 5.469 kB / 0.9581 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6975, allocations: 2.969 kB / 0.9581 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.6976, allocations: 18.31 kB / 0.9581 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6976, allocations: 3.031 kB / 0.9581 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.6978, allocations: 30.84 kB / 0.9582 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.6979, allocations: 6.375 kB / 0.9582 GB, free: 2.949 MB / 0.7169 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.0001056/0.698, allocations: 139.9 kB / 0.9583 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.698, allocations: 15.72 kB / 0.9583 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.698, allocations: 25.73 kB / 0.9584 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.6981, allocations: 1.375 kB / 0.9584 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6981, allocations: 1.188 kB / 0.9584 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6981, allocations: 0 / 0.9584 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.6987, allocations: 0.4891 MB / 0.9588 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6987, allocations: 1.062 kB / 0.9588 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.6987, allocations: 7.281 kB / 0.9588 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6987, allocations: 0.8438 kB / 0.9588 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6987, allocations: 5.125 kB / 0.9588 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6987, allocations: 4.969 kB / 0.9589 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6987, allocations: 0 / 0.9589 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.699, allocations: 229.7 kB / 0.9591 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.699, allocations: 92.89 kB / 0.9592 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.699, allocations: 10.17 kB / 0.9592 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.6992, allocations: 18.45 kB / 0.9592 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.6993, allocations: 24.72 kB / 0.9592 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.6993, allocations: 10.31 kB / 0.9592 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001044/0.6994, allocations: 141.6 kB / 0.9594 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6994, allocations: 0 / 0.9594 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003244/0.6997, allocations: 47.59 kB / 0.9594 GB, free: 1.906 MB / 0.7169 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.0003616/0.7001, allocations: 172.3 kB / 0.9596 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.7003, allocations: 112.3 kB / 0.9597 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.7004, allocations: 0.8438 kB / 0.9597 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.7005, allocations: 49.02 kB / 0.9597 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.7009, allocations: 47.89 kB / 0.9598 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.7015, allocations: 359.4 kB / 0.9601 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.7017, allocations: 0.7218 MB / 0.9608 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.7017, allocations: 23.08 kB / 0.9608 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7018, allocations: 5 kB / 0.9608 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of Templates: time 0.006806/0.7086, allocations: 3.201 MB / 0.964 GB, free: 15.01 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time