Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 82.48 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 169 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.878/2.878, allocations: 377.8 MB / 0.6221 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.31e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003479/0.003513, allocations: 1.743 MB / 0.9831 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.005276, allocations: 0.9005 MB / 0.984 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.005349, allocations: 3.938 kB / 0.984 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.005537, allocations: 27.73 kB / 0.984 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.005935, allocations: 123.3 kB / 0.9841 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.006312, allocations: 155.6 kB / 0.9843 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.006646, allocations: 255.3 kB / 0.9845 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.006777, allocations: 21.8 kB / 0.9845 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.006981, allocations: 143.7 kB / 0.9847 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01688/0.02387, allocations: 2.01 MB / 0.9866 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.519e-05/0.02394, allocations: 16 kB / 0.9867 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.02407, allocations: 43.86 kB / 0.9867 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.02415, allocations: 43.83 kB / 0.9867 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.02426, allocations: 63.81 kB / 0.9868 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.02468, allocations: 247.2 kB / 0.987 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.02469, allocations: 0 / 0.987 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.02469, allocations: 0 / 0.987 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.0247, allocations: 0 / 0.987 GB, free: 5.648 MB / 0.8887 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.0008949/0.02559, allocations: 488.7 kB / 0.9875 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.02563, allocations: 8.031 kB / 0.9875 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.02571, allocations: 24.8 kB / 0.9875 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.02602, allocations: 185.4 kB / 0.9877 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.02604, allocations: 12.38 kB / 0.9877 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.02608, allocations: 19.92 kB / 0.9877 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.02628, allocations: 89.66 kB / 0.9878 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.02629, allocations: 7.984 kB / 0.9878 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.0263, allocations: 0 / 0.9878 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.02631, allocations: 4 kB / 0.9878 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.02643, allocations: 55.91 kB / 0.9879 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.0272, allocations: 364.2 kB / 0.9882 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.02769, allocations: 138.6 kB / 0.9884 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.02776, allocations: 32.84 kB / 0.9884 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.02777, allocations: 0 / 0.9884 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.02802, allocations: 118.5 kB / 0.9885 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=16): time 1.624e-06/0.02802, allocations: 0 / 0.9885 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of matching and sorting (n=16): time 0.0003759/0.0284, allocations: 161.5 kB / 0.9887 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.02845, allocations: 59.34 kB / 0.9887 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.02867, allocations: 201.9 kB / 0.9889 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.02871, allocations: 33.7 kB / 0.989 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.02881, allocations: 120.6 kB / 0.9891 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.02886, allocations: 39.72 kB / 0.9891 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.02897, allocations: 61.67 kB / 0.9892 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.02911, allocations: 326.8 kB / 0.9895 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.02919, allocations: 27.98 kB / 0.9895 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.02953, allocations: 243.5 kB / 0.9897 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.02968, allocations: 106.9 kB / 0.9898 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.02969, allocations: 4 kB / 0.9898 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002734/0.02996, allocations: 157.3 kB / 0.99 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.02997, allocations: 4 kB / 0.99 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.02998, allocations: 4 kB / 0.99 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.02999, allocations: 0 / 0.99 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.03006, allocations: 12 kB / 0.99 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.03007, allocations: 11.92 kB / 0.99 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.03031, allocations: 32 kB / 0.9901 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.03032, allocations: 8 kB / 0.9901 GB, free: 2.305 MB / 0.8887 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.0001354/0.03046, allocations: 131.8 kB / 0.9902 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.03049, allocations: 19.84 kB / 0.9902 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.03055, allocations: 25.8 kB / 0.9902 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.03055, allocations: 4 kB / 0.9902 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.03056, allocations: 0 / 0.9902 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.03056, allocations: 3.938 kB / 0.9902 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.03126, allocations: 421.9 kB / 0.9906 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.03126, allocations: 0 / 0.9906 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.137e-05/0.03129, allocations: 11.94 kB / 0.9906 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.0313, allocations: 0 / 0.9906 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.0313, allocations: 0 / 0.9906 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.03131, allocations: 4 kB / 0.9907 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.03131, allocations: 3.984 kB / 0.9907 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.03158, allocations: 236.8 kB / 0.9909 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.03161, allocations: 15.89 kB / 0.9909 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.03164, allocations: 8 kB / 0.9909 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.03177, allocations: 11.98 kB / 0.9909 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.03185, allocations: 19.97 kB / 0.9909 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.03188, allocations: 15.98 kB / 0.991 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001359/0.03201, allocations: 135.3 kB / 0.9911 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.03201, allocations: 0 / 0.9911 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003147/0.03233, allocations: 51.92 kB / 0.9911 GB, free: 1.148 MB / 0.8887 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.0003898/0.03272, allocations: 182.7 kB / 0.9913 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.03296, allocations: 99.75 kB / 0.9914 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.03296, allocations: 256 / 0.9914 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.03306, allocations: 51.92 kB / 0.9914 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.03349, allocations: 56.55 kB / 0.9915 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.03406, allocations: 286.4 kB / 0.9918 GB, free: 496 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.03417, allocations: 112.3 kB / 0.9919 GB, free: 360 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.022e-05/0.03424, allocations: 21.62 kB / 0.9919 GB, free: 340 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.03431, allocations: 28.48 kB / 0.9919 GB, free: 308 kB / 0.8887 GB Notification: Performance of SimCode: time 3.71e-07/0.03431, allocations: 0 / 0.9919 GB, free: 308 kB / 0.8887 GB Notification: Performance of Templates: time 0.008851/0.04316, allocations: 3.999 MB / 0.9958 GB, free: 12.39 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.961803320795298]