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.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001357, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.67/1.67, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.529/2.529, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.89 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6183, allocations: 140.4 MB / 0.9496 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00271/0.6211, allocations: 1.895 MB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.6223, allocations: 0.9482 MB / 0.9523 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.6224, allocations: 5.312 kB / 0.9523 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.6226, allocations: 19.98 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.6229, allocations: 91.16 kB / 0.9525 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.6232, allocations: 145.9 kB / 0.9526 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.6234, allocations: 228.1 kB / 0.9528 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.6235, allocations: 43.11 kB / 0.9529 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.6236, allocations: 104 kB / 0.953 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0267/0.6503, allocations: 1.813 MB / 0.9547 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.6504, allocations: 10.16 kB / 0.9547 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.6506, allocations: 31.97 kB / 0.9548 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.6507, allocations: 39.94 kB / 0.9548 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.6508, allocations: 87.17 kB / 0.9549 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.651, allocations: 149 kB / 0.955 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6511, allocations: 4 kB / 0.955 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6511, allocations: 0 / 0.955 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6511, allocations: 1.125 kB / 0.955 GB, free: 5.824 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008261/0.6519, allocations: 0.5462 MB / 0.9556 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.652, allocations: 9.188 kB / 0.9556 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.6521, allocations: 24.11 kB / 0.9556 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.6523, allocations: 251.4 kB / 0.9558 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.6523, allocations: 14.97 kB / 0.9558 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.6524, allocations: 10 kB / 0.9559 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.6526, allocations: 113.5 kB / 0.956 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.6526, allocations: 3.938 kB / 0.956 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.6526, allocations: 5.469 kB / 0.956 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6526, allocations: 6.344 kB / 0.956 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.6528, allocations: 50 kB / 0.956 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.6535, allocations: 0.5423 MB / 0.9566 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.6537, allocations: 99.7 kB / 0.9567 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.6538, allocations: 41.89 kB / 0.9567 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.6538, allocations: 1.719 kB / 0.9567 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.654, allocations: 128.3 kB / 0.9568 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.654, allocations: 0 / 0.9568 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.000331/0.6543, allocations: 163.1 kB / 0.957 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.6544, allocations: 83.86 kB / 0.9571 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.6545, allocations: 204.9 kB / 0.9572 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.6546, allocations: 36.83 kB / 0.9573 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.6546, allocations: 121.6 kB / 0.9574 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.6547, allocations: 34.27 kB / 0.9574 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.6548, allocations: 64.2 kB / 0.9575 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.6548, allocations: 327.4 kB / 0.9578 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.6549, allocations: 38.3 kB / 0.9578 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.6551, allocations: 140 kB / 0.958 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.6553, allocations: 117.6 kB / 0.9581 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.6553, allocations: 0 / 0.9581 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002458/0.6555, allocations: 166.8 kB / 0.9582 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6556, allocations: 6 kB / 0.9583 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6556, allocations: 1.156 kB / 0.9583 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6556, allocations: 2.469 kB / 0.9583 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.6557, allocations: 21.14 kB / 0.9583 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.6557, allocations: 1.594 kB / 0.9583 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.6559, allocations: 24.67 kB / 0.9583 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.6559, allocations: 6.469 kB / 0.9583 GB, free: 2.895 MB / 0.7169 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.778e-05/0.656, allocations: 148.3 kB / 0.9584 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.6561, allocations: 25.38 kB / 0.9585 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.6561, allocations: 25.31 kB / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6561, allocations: 1.844 kB / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6561, allocations: 0 / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6561, allocations: 1.969 kB / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.6566, allocations: 463.9 kB / 0.9589 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6567, allocations: 0.75 kB / 0.9589 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.6567, allocations: 3.219 kB / 0.9589 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6567, allocations: 1.094 kB / 0.9589 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.6567, allocations: 6.188 kB / 0.959 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6567, allocations: 5.031 kB / 0.959 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6567, allocations: 1.094 kB / 0.959 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.6569, allocations: 239.7 kB / 0.9592 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.657, allocations: 89.3 kB / 0.9593 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.657, allocations: 2.125 kB / 0.9593 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.6571, allocations: 22.69 kB / 0.9593 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.6572, allocations: 12.17 kB / 0.9593 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.6572, allocations: 14.27 kB / 0.9593 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001123/0.6574, allocations: 138.7 kB / 0.9595 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6574, allocations: 0 / 0.9595 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003253/0.6577, allocations: 51.69 kB / 0.9595 GB, free: 1.855 MB / 0.7169 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.0002932/0.658, allocations: 172.2 kB / 0.9597 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.6582, allocations: 101.5 kB / 0.9598 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6582, allocations: 0 / 0.9598 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.783e-05/0.6583, allocations: 47.95 kB / 0.9598 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.6588, allocations: 57.45 kB / 0.9599 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/0.6593, allocations: 364.2 kB / 0.9602 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.6594, allocations: 0.7247 MB / 0.9609 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.6595, allocations: 19.72 kB / 0.9609 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6595, allocations: 4 kB / 0.9609 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of Templates: time 0.006264/0.6658, allocations: 3.187 MB / 0.9641 GB, free: 14.96 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (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 & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time