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.001095/0.001095, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001022/0.001022, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.156/2.156, allocations: 390.3 MB / 0.6655 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 61.7 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2744, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002888/0.2774, allocations: 1.727 MB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.2787, allocations: 0.9085 MB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.2788, allocations: 4 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.279, allocations: 35.7 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.2793, allocations: 123.3 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.2797, allocations: 159.5 kB / 0.954 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.2799, allocations: 231.5 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2801, allocations: 37.58 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.2802, allocations: 115.6 kB / 0.9544 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01192/0.2921, allocations: 2.028 MB / 0.9563 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.2922, allocations: 20 kB / 0.9564 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2923, allocations: 43.97 kB / 0.9564 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.2924, allocations: 35.84 kB / 0.9564 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2925, allocations: 95.48 kB / 0.9565 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.2929, allocations: 207.3 kB / 0.9567 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2929, allocations: 0 / 0.9567 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2929, allocations: 0 / 0.9567 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.2929, allocations: 3.984 kB / 0.9567 GB, free: 2.82 MB / 0.7325 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.0008466/0.2937, allocations: 0.5605 MB / 0.9573 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.2938, allocations: 8.031 kB / 0.9573 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.2939, allocations: 20.75 kB / 0.9573 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.2942, allocations: 243.4 kB / 0.9575 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2942, allocations: 11.98 kB / 0.9575 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.2943, allocations: 16 kB / 0.9576 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.2944, allocations: 91.38 kB / 0.9576 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2945, allocations: 4 kB / 0.9577 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.2945, allocations: 0 / 0.9577 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2945, allocations: 0 / 0.9577 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.2946, allocations: 51.97 kB / 0.9577 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.2954, allocations: 464.4 kB / 0.9581 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.2958, allocations: 134.7 kB / 0.9583 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.2959, allocations: 36.84 kB / 0.9583 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2959, allocations: 11.94 kB / 0.9583 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.2962, allocations: 111.1 kB / 0.9584 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.2962, allocations: 0 / 0.9584 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0003421/0.2965, allocations: 171.9 kB / 0.9586 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2966, allocations: 55.34 kB / 0.9586 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2968, allocations: 194.5 kB / 0.9588 GB, free: 468 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.2968, allocations: 37.69 kB / 0.9589 GB, free: 424 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.2969, allocations: 124.5 kB / 0.959 GB, free: 292 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2969, allocations: 35.55 kB / 0.959 GB, free: 256 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.297, allocations: 57.67 kB / 0.9591 GB, free: 192 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2972, allocations: 330.8 kB / 0.9594 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.2972, allocations: 35.98 kB / 0.9594 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.2975, allocations: 123.6 kB / 0.9595 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.2976, allocations: 98.41 kB / 0.9596 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2976, allocations: 0 / 0.9596 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002704/0.2979, allocations: 157.3 kB / 0.9598 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2979, allocations: 4 kB / 0.9598 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2979, allocations: 0 / 0.9598 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.298, allocations: 7.984 kB / 0.9598 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.298, allocations: 23.88 kB / 0.9598 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.2981, allocations: 4 kB / 0.9598 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.2983, allocations: 23.83 kB / 0.9598 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2983, allocations: 8 kB / 0.9598 GB, free: 15.33 MB / 0.7481 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.000126/0.2984, allocations: 151.6 kB / 0.96 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.2985, allocations: 15.81 kB / 0.96 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.2985, allocations: 25.86 kB / 0.96 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2985, allocations: 0 / 0.96 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2985, allocations: 4 kB / 0.96 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2985, allocations: 0 / 0.96 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.2992, allocations: 486.1 kB / 0.9605 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2992, allocations: 4 kB / 0.9605 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.2992, allocations: 11.92 kB / 0.9605 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2992, allocations: 4 kB / 0.9605 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2993, allocations: 4 kB / 0.9605 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2993, allocations: 3.938 kB / 0.9605 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2993, allocations: 0 / 0.9605 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.2995, allocations: 235.1 kB / 0.9608 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.2996, allocations: 88.92 kB / 0.9608 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2996, allocations: 12 kB / 0.9608 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2998, allocations: 11.92 kB / 0.9609 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.2998, allocations: 23.97 kB / 0.9609 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.2999, allocations: 11.98 kB / 0.9609 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001243/0.3, allocations: 136.5 kB / 0.961 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3, allocations: 0 / 0.961 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003197/0.3003, allocations: 44 kB / 0.9611 GB, free: 13.99 MB / 0.7481 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.0003702/0.3007, allocations: 179.6 kB / 0.9612 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.301, allocations: 99.84 kB / 0.9613 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.301, allocations: 0 / 0.9613 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3011, allocations: 58.03 kB / 0.9614 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3015, allocations: 58.84 kB / 0.9614 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.3021, allocations: 287.6 kB / 0.9617 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.3024, allocations: 0.7203 MB / 0.9624 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.062e-05/0.3025, allocations: 21.53 kB / 0.9624 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.3025, allocations: 23.42 kB / 0.9625 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3025, allocations: 0 / 0.9625 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of Templates: time 0.007423/0.31, allocations: 3.712 MB / 0.9661 GB, free: 8.852 MB / 0.7481 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 -s gbode -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) Reference file matches