Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001366/0.001366, allocations: 84.73 kB / 19.44 MB, free: 348 kB / 13.93 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.001524/0.001524, allocations: 161.7 kB / 22.75 MB, free: 1.676 MB / 18.57 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.173/3.173, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8776 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.611e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003331/0.003357, allocations: 1.742 MB / 0.8793 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.005248, allocations: 0.9049 MB / 0.8802 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.005324, allocations: 3.938 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.005518, allocations: 28.77 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.005924, allocations: 119.4 kB / 0.8803 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.006331, allocations: 164.7 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.006701, allocations: 243.3 kB / 0.8807 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.00682, allocations: 22.89 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.007056, allocations: 151.7 kB / 0.8809 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01921/0.02626, allocations: 3.216 MB / 0.884 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.02634, allocations: 18.09 kB / 0.884 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.02647, allocations: 39.92 kB / 0.884 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.02655, allocations: 39.83 kB / 0.8841 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.02668, allocations: 71.8 kB / 0.8842 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.02714, allocations: 243.2 kB / 0.8844 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.02714, allocations: 4 kB / 0.8844 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.02714, allocations: 0 / 0.8844 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.02715, allocations: 0 / 0.8844 GB, free: 0.5234 MB / 0.8386 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.0009592/0.02811, allocations: 488.7 kB / 0.8849 GB, free: 4 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.02816, allocations: 12.08 kB / 0.8849 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.02827, allocations: 28.8 kB / 0.8849 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.02862, allocations: 190.3 kB / 0.8851 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.02864, allocations: 8.375 kB / 0.8851 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.02868, allocations: 19.94 kB / 0.8851 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.02893, allocations: 115.3 kB / 0.8852 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.02894, allocations: 0 / 0.8852 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.02896, allocations: 8 kB / 0.8852 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.02897, allocations: 0 / 0.8852 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.0291, allocations: 50.94 kB / 0.8853 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009347/0.03003, allocations: 464.3 kB / 0.8857 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.0303, allocations: 97.06 kB / 0.8858 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.03037, allocations: 33.77 kB / 0.8858 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.03039, allocations: 4 kB / 0.8858 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.03062, allocations: 129.1 kB / 0.886 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/0.03062, allocations: 0 / 0.886 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004071/0.03103, allocations: 165.4 kB / 0.8861 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.0311, allocations: 89.22 kB / 0.8862 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.03135, allocations: 204.3 kB / 0.8864 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.0314, allocations: 33.7 kB / 0.8864 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.03151, allocations: 124.6 kB / 0.8866 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.03156, allocations: 31.73 kB / 0.8866 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.03166, allocations: 61.67 kB / 0.8866 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.03185, allocations: 326.8 kB / 0.887 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.03193, allocations: 35.98 kB / 0.887 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.0323, allocations: 236.2 kB / 0.8872 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.03248, allocations: 120.6 kB / 0.8873 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.03248, allocations: 0 / 0.8873 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004312/0.03291, allocations: 177.3 kB / 0.8875 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.03293, allocations: 4 kB / 0.8875 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.03294, allocations: 4 kB / 0.8875 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.03295, allocations: 0 / 0.8875 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.03305, allocations: 20.14 kB / 0.8875 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.03306, allocations: 11.94 kB / 0.8875 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.03328, allocations: 27.88 kB / 0.8876 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.0333, allocations: 8 kB / 0.8876 GB, free: 12.96 MB / 0.8542 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 0.000156/0.03345, allocations: 135.9 kB / 0.8877 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.0335, allocations: 27.83 kB / 0.8877 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.03355, allocations: 17.47 kB / 0.8877 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.03355, allocations: 4 kB / 0.8877 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.03356, allocations: 4 kB / 0.8877 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.03356, allocations: 3.984 kB / 0.8878 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.03422, allocations: 398 kB / 0.8881 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.03423, allocations: 3.938 kB / 0.8881 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.03425, allocations: 7.938 kB / 0.8881 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.03426, allocations: 0 / 0.8881 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.03427, allocations: 4 kB / 0.8881 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.03427, allocations: 0 / 0.8881 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.03427, allocations: 0 / 0.8881 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.03457, allocations: 243.3 kB / 0.8884 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.03461, allocations: 19.91 kB / 0.8884 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.03464, allocations: 11.92 kB / 0.8884 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.03478, allocations: 15.98 kB / 0.8884 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.03486, allocations: 15.97 kB / 0.8884 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.03488, allocations: 8 kB / 0.8884 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001544/0.03504, allocations: 144.2 kB / 0.8886 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03504, allocations: 0 / 0.8886 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003278/0.03536, allocations: 47.94 kB / 0.8886 GB, free: 11.82 MB / 0.8542 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.0004473/0.03581, allocations: 178.3 kB / 0.8888 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.03606, allocations: 99.89 kB / 0.8889 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.03606, allocations: 0 / 0.8889 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.03616, allocations: 43.92 kB / 0.8889 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.03662, allocations: 58.48 kB / 0.889 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.03724, allocations: 298.2 kB / 0.8893 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.03737, allocations: 116.6 kB / 0.8894 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.788e-05/0.03745, allocations: 21.62 kB / 0.8894 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.03751, allocations: 20.5 kB / 0.8894 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.03751, allocations: 0 / 0.8894 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of Templates: time 0.009287/0.0468, allocations: 3.961 MB / 0.8933 GB, free: 7.082 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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: 8.229425875935704]